Change parameters and dimensions

If it is necessary to define a dimension or a parameter of a model you have the following command.

SET_MDL_PARAM Model Model_param_name param_name

Model = "Model name" | THIS | THIS_# | ASSEMBLY

--> Model name = can be defined through USER_SELECT by entering the chosen variable

--> # = Component ID (Only in assemblies)

Model_param_name = the parameter you want to modify

param_name = the parameter with the new value

 

Example:

MEASURE_DISTANCE PLANE_1 PLANE_2 DISTANCE

measure the distance between PLANE_1 and PLANE_2 and save the value in the variable DISTANCE

USER_PARAM_OUTPUT DISTANCE

Display the measured distance

SET_MDL_PARAM THIS DIST DISTANCE

Changes the parameter DIST of the model that should be assembled. The new value will be the measured distance of the parameter DISTANCE

 

See also

Measure and display