Page 1 of 1

Opensense could not find vtp files.

Posted: Mon Jun 20, 2022 2:10 am
by soroosh.b.k
Hi ,
I am using the Opensense with CLI and it can not found .vtp files.
How can I set geometry search path via CLI? Or I have to user full path for mesh file node value at .osim file.
best regards.
Soroosh

Re: Opensense could not find vtp files.

Posted: Tue Jun 21, 2022 8:02 am
by jbanks
After you call "import org.opensim.modeling.*"
Go with:
ModelVisualizer.addDirToGeometrySearchPaths('Fullpath');

It is our experience that this will need to be added to all (sub)function that call the model.

FYI: Since it is user dependent, you want to make sure others in your lab are aware of the parameters they may need to adjust (to avoid an error/can't find path).
Jake Banks

Re: Opensense could not find vtp files.

Posted: Fri Jun 24, 2022 5:39 am
by soroosh.b.k
Thank you for your reply. But I am using the command line, Not Python. is there any argument to set the GeometrySearchPath via Opensense.exe?