Missing function of idTool.setModel( )
Posted: Fri Apr 10, 2020 6:45 pm
Hi all, very quick clarification:
I've successfully written a batch python (3.7) file for running inverse kinematics on various models and trials. Likewise, I'd like to have a separate file for running inverse dynamics.
Per the C++ developer API, InverseKinematicsTool has the function setModel(). This works successfully. However, it seems that InverseDynamicsTool does not have a function setModel() listed in the API. As a result, my idTool.run() does not assign a model, and therefore prints no output file (I know this because the printed setup file for every trial has <model_file>Unassigned</model_file>).
How can I assign the model being used so that I may run my idTool successfully (in the same way that ikTool is able to setModel())?
If it is helpful for further context, I can post the portion of code upon request.
Thank you for any/all information,
Dylan
I've successfully written a batch python (3.7) file for running inverse kinematics on various models and trials. Likewise, I'd like to have a separate file for running inverse dynamics.
Per the C++ developer API, InverseKinematicsTool has the function setModel(). This works successfully. However, it seems that InverseDynamicsTool does not have a function setModel() listed in the API. As a result, my idTool.run() does not assign a model, and therefore prints no output file (I know this because the printed setup file for every trial has <model_file>Unassigned</model_file>).
How can I assign the model being used so that I may run my idTool successfully (in the same way that ikTool is able to setModel())?
If it is helpful for further context, I can post the portion of code upon request.
Thank you for any/all information,
Dylan