Hello,
I have a *.osim file that opens fine in version 3.3,
but not version 4.0.
When I try to open it in 4.0 I get the error:
Component 'supmult-C4/5-C2' of type Thelen2003Muscle contains invalid characters of: '\/*+
'.
Thrown at component.cpp:199 in finalizeFromProperties().
What should I do about this?
Also, how long should:
Updating Model file from 30000 to latest format...
take?
Converting files
- Nicholas Sotirelis
- Posts: 11
- Joined: Fri Aug 16, 2019 11:15 am
- Ayman Habib
- Posts: 2254
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Converting files
Hello,
Converting/upgrading files typically takes a few seconds though may depend on the size/complexity of the model file. The issue you're running into is due to a muscle name containing illegal character (/). Those names were disallowed in 4.0 since components now have a "path" and (/)
is used as a path separator. If you can rename the muscle to avoid using this character then you should be fine. Likely this can be done in a text editor where you replace all occurances of the muscle name with a new legal name.
Hope this helps,
Ayman
Converting/upgrading files typically takes a few seconds though may depend on the size/complexity of the model file. The issue you're running into is due to a muscle name containing illegal character (/). Those names were disallowed in 4.0 since components now have a "path" and (/)
is used as a path separator. If you can rename the muscle to avoid using this character then you should be fine. Likely this can be done in a text editor where you replace all occurances of the muscle name with a new legal name.
Hope this helps,
Ayman