obj = RCOMP/'filespec'[,'component name'][REF,'reference set name'][,csys][,LAYER][,IFERR,label:]
Adds an existing part to the current assembly part as a component.
NOTE: The scale parameter was obsoleted from this command. Using the
obsolete scale parameter produces a run-time error or a branch on IFERR if the
scale is not set to 1.0.
Parameter |
Description |
'filespec' |
A string or string variable which represents the name of the Unigraphics part file to be added. |
'component name' |
A string or string variable which represents the name of the component created when the part file is added. If no name is specified, the component has the same name as the part file. |
REF |
Minor word which indicates that a reference set name is to be specified. |
'reference set name' |
A string or string variable representing a reference set name which exists in the Unigraphics part file specified and which is to be added. The reference set is a user-defined subset of objects which can be used to create the component instead of displaying the entire part file. If the reference set does not exist, an error occurs. |
csys |
An existing coordinate system object which represents the orientation at which the created component is placed on the assembly part. The absolute coordinate system of the part file is aligned with the specified coordinate system object to define the component's origin and orientation in space. If no coordinate system is specified, the absolute coordinate system of the component is aligned with the work coordinate system of the current assembly part. |
LAYER |
Minor word which indicates that the objects in the file being added are to be placed on their original layers. If the minor word is not specified, the objects are placed on the current work layer. |
IFERR,label: |
Specifies a label to which the program execution jumps if an error occurs. |