Page 1 of 1

Converting files

Posted: Mon Aug 26, 2019 9:22 am
by nsotirelis
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?

Re: Converting files

Posted: Mon Aug 26, 2019 9:50 am
by aymanh
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