CAD[NX]
SetParameterUnits
Calling Sequence
Parameters
Description
Examples
SetParameterUnits(paramname, u, partopt)
paramname
-
string; name of a parameter in an open NX part
u
with_unit; the unit for paramname
partopt
(optional) equation of the form part = partfile: optional name of an NX part file
The SetParameterUnits command sets the units of the specified parameter in an open NX part. If no part = partfile argument is given, then the parameter is taken to be in the current work part. The value true is returned if the operation was successful; otherwise, false is returned.
with⁡CADNX:
OpenConnection⁡:
This example assumes that a part containing the displayed parameters is already open in NX.
SetParameterUnits⁡p3,Unit⁡ms
true
CloseConnection⁡:
See Also
Download Help Document