CAD/NX/SetParameterUnits - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : CAD/NX/SetParameterUnits

CAD[NX]

  

SetParameterUnits

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SetParameterUnits(paramname, u, partopt)

Parameters

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

Description

• 

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.

Examples

withCADNX:

OpenConnection:

This example assumes that a part containing the displayed parameters is already open in NX.

SetParameterUnitsp3,Unitms

true

(1)

CloseConnection:

See Also

CAD[NX]