SetParameterValue - 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 : Connectivity : CAD Package : NX : SetParameterValue

CAD[NX]

  

SetParameterValue

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SetParameterValue(paramname, value, partopt)

Parameters

paramname

-

string; the name of an NX parameter

value

-

string; the (numeric) value to which the parameter is set

partopt

-

(optional) equation of the form part = partfile: optional name of an NX part file

Description

• 

The SetParameterValue command sets the value 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.

Examples

withCADNX:

OpenConnection:

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

SetParameterValuep4,2.3

CloseConnection:

See Also

CAD[NX]

CAD[NX][GetParameterValue]