Deprecated PropertyHelper function API
Posted: Fri May 08, 2020 2:18 am
Hi all,
I am looking for a replacement or new implementation of the PropertyHelper class which was available in the Python API in OpenSim 3.3, in 4.0 it seems the only related class I can use is PropertyString. While this function is useful for pulling information from my model, I cannot write information to the model which is not a string type, for example if I am defining a length.
I see on the Doxygen page, PropertyDbl was intended to partially replace this function, but I am unable to access it. Some specific information regarding my problem is below:
I have a model which is using the OpenSim JAM class of Ligaments, this class is not recognised by the API, I can import the plugin and downcast to the ligament as the "Force" object to access the information. I am wanting to design a calibration for some of the properties, slack_length and stiffness, but as mentioned above I cannot re-write these properties using the PropertyString class. I am on a windows machine using OpenSim 4.0 and Python 2.7.
Thank you in advance for any advice or tips
Bryce Killen
I am looking for a replacement or new implementation of the PropertyHelper class which was available in the Python API in OpenSim 3.3, in 4.0 it seems the only related class I can use is PropertyString. While this function is useful for pulling information from my model, I cannot write information to the model which is not a string type, for example if I am defining a length.
I see on the Doxygen page, PropertyDbl was intended to partially replace this function, but I am unable to access it. Some specific information regarding my problem is below:
I have a model which is using the OpenSim JAM class of Ligaments, this class is not recognised by the API, I can import the plugin and downcast to the ligament as the "Force" object to access the information. I am wanting to design a calibration for some of the properties, slack_length and stiffness, but as mentioned above I cannot re-write these properties using the PropertyString class. I am on a windows machine using OpenSim 4.0 and Python 2.7.
Thank you in advance for any advice or tips
Bryce Killen