getComponentList or getComponentsList
Posted: Sat May 11, 2024 9:48 am
Dear experts,
I have a trouble in calling component name list from Model class with Python and OpenSim 4.5.
My osim model has CoordinateActuator under components branch. In Python, Model class indicates method candidates as getComponentsList. So, I tried to write as below:
Then following message comes:
How can we call the registered names of CoordinateActuator under components branch?
Best regards,
Hide
I have a trouble in calling component name list from Model class with Python and OpenSim 4.5.
My osim model has CoordinateActuator under components branch. In Python, Model class indicates method candidates as getComponentsList. So, I tried to write as below:
Code: Select all
model.getComponentsList('CoordinateActuator')
Api_docs (doxygen) says getComponentList existing but it's not getComponent"s"List.*** TypeError: getComponentsList() takes 1 positional argument but 2 were given
How can we call the registered names of CoordinateActuator under components branch?
Best regards,
Hide