Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
-
Mohammadreza Rezaie
- Posts: 412
- Joined: Fri Nov 24, 2017 12:48 am
Post
by Mohammadreza Rezaie » Sat Jun 12, 2021 1:37 am
Hi,
I'd like to direct the MeasurementSet data is Scale setup file to an external file similar to this:
<MeasurementSet file="measurements.xml">
If I do it manually, it works well in OpenSim.
But I couldn't find something in python to set the file:
Code: Select all
scale = osim.ScaleTool()
scale.getModelScaler().getMeasurementSet().setFileName('measurements.xml')
I wonder if you would guide me how I can do it.
Regards,
Mohammadreza
Tags:
-
Mohammadreza Rezaie
- Posts: 412
- Joined: Fri Nov 24, 2017 12:48 am
Post
by Mohammadreza Rezaie » Sat Jun 12, 2021 6:06 am
Dear Thomas,
Thanks for your reply. You are right.
I intended to make the setup file easier to understand for teaching purposes. You know, with "MeasurementSet"s and "IKTaskSet"s the setup file is so crowded.
I was wondering if you would tell me whether there is any other way to do in Python.
Best,
Mohammadreza