Parameter(...)
This method creates a parameter and optionally associates a dimension with this parameter.
Path
mdb.models[name].sketches[name].Parameter
Required arguments
- name
A String specifying the name of the ConstrainedSketchParameter object. No two parameters in the same ConstrainedSketch can have the same name.
Optional arguments
- path
A String specifying the ConstrainedSketchDimension object with which this parameter is associated.
- expression
A String specifying the expression or value associated with the ConstrainedSketchParameter.
- previousParameter
A String specifying the name of the previous ConstrainedSketchParameter, if it exists. The previousParameter argument implies an order among the parameters. No two parameters can reference the same parameter as the previous parameter.
Return value
A ConstrainedSketchParameter object.
Exceptions
None.