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
Opensense could not find vtp files.
- soroosh bagheri
- Posts: 15
- Joined: Sat Jan 28, 2017 1:27 am
- Jacob J. Banks
- Posts: 95
- Joined: Tue Jul 15, 2014 5:17 am
Re: Opensense could not find vtp files.
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
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
- soroosh bagheri
- Posts: 15
- Joined: Sat Jan 28, 2017 1:27 am
Re: Opensense could not find vtp files.
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?