hexagon logo

How to write design variables into a joint motion function with python.

In the included code, the last line is giving me a problem. In the motion function, I need to insert the design variables.
The division part of the motion function really wants to look like this:
(mod.DesignVariables['DesignBasis'].value[0]/mod.DesignVariables['Cycle'].value[0])
I can't seem to be able to figure out how to pass these variables. I have tried f strings among other things and the script keeps failing. Any thoughts?

Attached Files (1)