Overview | Statement List


创建新组件

Synopsis

FCOMP/'filespec'[,'component name'][,REF,'reference set name'][,CSYS,csys][,ORIGIN,pt],objlist[,IFERR,label:]

Description

Creates a new component part file, and a reference to that component in the assembly work part, containing the given objects. The name of the component and the part file may be the same.

NOTE: The UPDATE minor word was removed from this command. If you use this minor word, FCOMP ignores its usage.

NOTE: To remove a component, use the DELETE command.

Parameters

Parameter

Description

'filespec'

A string or string variable which represents the name of the Unigraphics part file created when the component is filed. The filespec may also contain the entire pathname of the file.

'component name'

A string or string variable which represents the name of the component in the assembly. If you omit this parameter, the component receives the same name as the part name.

REF

Minor word which indicates that a reference set name is to be specified.

'reference set name'

A string or string variable which represents the name of a reference set which gets created containing the objects in this component. This allows you to create a reference set in the part file and a component on the assembly at the same time. If you do not specify a reference set name, the assembly references the entire part.

CSYS

Minor word which indicates that a coordinate system object is to be specified as the component coordinate system.

csys

An existing coordinate system object which represents the coordinate system for the component. This coordinate system defines the orientation at which the component is filed. If you do not specify a coordinate system, the work coordinate system is used.

ORIGIN

Minor word which indicates that an origin other than that of the work coordinate system is to be specified.

point

An existing point which represents the origin of the component. This point is used as the origin of the coordinate system when the component is filed.

objlist

The list of object identifiers for the objects to be copied into the new part.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs during component creation or filing.

 


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.