Overview | Statement List | Example


升级组件

Synopsis

obj = UPGRAD/{ALL|COMP,component list}[,RECURS][,CREATE][,STATUS,status][,IFERR,label:]

Description

Upgrades pre-V10 components to V10 instances. Options with this command provide the capability to:

Parameters

Parameter

Description

ALL

Minor word that specifies that all components in the work part are to be upgraded.

COMP

Specifies that only the component object identifiers from the component list are to be upgraded.

component list

This list of object identifiers specifies the components to be upgraded.

RECURS

Recursively upgrades the assembly hierarchy below the specified component(s).

CREATE

Creates a new part in the current directory for a component file that cannot be found in the current search path.

STATUS

Specifies that the status value is to follow.

status

Number result that represents the status of the upgrade. This result is a GRIP error code. For a full list of error codes see Errors. Typical codes that may occur are the following:

1034 = The file has not been opened.
1087 = Error trying to retrieve objects from list.
1107 = Invalid sequence number.
1357 = Solid modeler failure.
1703 = The reference set name was not found.
1810 = Displayed Part Must Be Set.
1812 = Component Must Be Child Of Work Part.
1814 = Part Not Descendant Of Displayed Part.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs.


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