Hello,
I realized that marker data should be separated from model data. When I merged marker data into osim model file, scaling tool was failed in script. But GUI-based Scale tool works with merged osim file.
Now, I found my solution.
Thank you,
Hide
Scaling using Python API
- Hide Kimpara
- Posts: 135
- Joined: Mon Sep 19, 2016 5:12 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Scaling using Python API
Hello Hide,
The error message indicates that marker_set_file under GenericModelMaker is unspecified or changed from its default value ("Unassigned" for this property). Typically if you don't want to add markers you remove this property from XML altogether.
Hope this helps,
-Ayman
The error message indicates that marker_set_file under GenericModelMaker is unspecified or changed from its default value ("Unassigned" for this property). Typically if you don't want to add markers you remove this property from XML altogether.
Hope this helps,
-Ayman
- Hide Kimpara
- Posts: 135
- Joined: Mon Sep 19, 2016 5:12 am
Re: Scaling using Python API
Hello Ayman,
Yes, it was helpful for me. When I delete the of GenericModelMaker, I did not see any errors. The scaling operation was also done properly as I saw with GUI-tool.
Thank you,
Hide
Yes, it was helpful for me. When I delete the of GenericModelMaker, I did not see any errors. The scaling operation was also done properly as I saw with GUI-tool.
Thank you,
Hide