CAD[NX][GetParameterValue]
|
Calling Sequence
|
|
GetParameterValue( paramname )
GetParameterValue( paramname, partfile )
|
|
Parameters
|
|
paramname
|
-
|
string; name of a parameter in an open NX part
|
partfile
|
-
|
string; optional name of an NX part file
|
withunits
|
-
|
truefalse; if set to true, then return value with units attached
|
|
|
|
|
Description
|
|
•
|
The GetParameterValue command retrieves the value of the specified parameter in an open NX part. If no partfile argument is given, then the parameter is taken to be in the current work part.
|
•
|
Note that the withunits option is only valid for parameters of numeric type. If paramname is not of numeric type, or if there are no units associated with paramname, then an exception is raised.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
|
|