abeschneider
Mechanical
- Sep 25, 2003
- 189
If one is using DesignModeler to create geometry which is controlled by parameters, is there a way to use a script or input file to change the parameters?
For instance: I have a 2D sketch of a box, with parameters "length" and "width". I want to be able to change these parameters from a script or input file.
There's a way to export a script describing how to create the whole sketch (File>Write Script: Sketch(es) of Active Plane), but the script output doesn't include parameter assignments; it just creates the geometry. I have read through the documentation for DesignModeler and Parameters, and can't find any mention of scripting functions for Parameters (as opposed to features like lines, arcs, sweeps, etc).
Thank you.
For instance: I have a 2D sketch of a box, with parameters "length" and "width". I want to be able to change these parameters from a script or input file.
There's a way to export a script describing how to create the whole sketch (File>Write Script: Sketch(es) of Active Plane), but the script output doesn't include parameter assignments; it just creates the geometry. I have read through the documentation for DesignModeler and Parameters, and can't find any mention of scripting functions for Parameters (as opposed to features like lines, arcs, sweeps, etc).
Thank you.