Trouble with adding .vtp file in matlab to model
Posted: Tue Oct 23, 2018 4:35 pm
I am trying to add a .vtp to my model and it keeps giving me the error below
No appropriate method, property, or field attachMeshGeometry for class org.opensim.modeling.Body.
Error in GenerateLegworksModel (line 23)
rightShank.attachMeshGeometry('sphere.vtp');
I have tried both addDisplayGeometry(...) and attachMeshGeometry(...)
Our mentors mentiod it the api may have change for opensim 4.0
I am using matlabR2014 and opensim 4.0
No appropriate method, property, or field attachMeshGeometry for class org.opensim.modeling.Body.
Error in GenerateLegworksModel (line 23)
rightShank.attachMeshGeometry('sphere.vtp');
I have tried both addDisplayGeometry(...) and attachMeshGeometry(...)
Our mentors mentiod it the api may have change for opensim 4.0
I am using matlabR2014 and opensim 4.0