Scaling using Python API

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Hide Kimpara
Posts: 135
Joined: Mon Sep 19, 2016 5:12 am

Re: Scaling using Python API

Post by Hide Kimpara » Wed May 06, 2020 11:37 pm

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

Tags:

User avatar
Ayman Habib
Posts: 2238
Joined: Fri Apr 01, 2005 12:24 pm

Re: Scaling using Python API

Post by Ayman Habib » Thu May 07, 2020 10:47 am

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

User avatar
Hide Kimpara
Posts: 135
Joined: Mon Sep 19, 2016 5:12 am

Re: Scaling using Python API

Post by Hide Kimpara » Mon Jun 01, 2020 8:34 am

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

POST REPLY