Search found 2 matches

by Robert Aguilar
Tue Oct 23, 2018 6:26 pm
Forum: 2018 Fall OpenSim Virtual Workshop
Topic: Trouble with adding .vtp file in matlab to model
Replies: 4
Views: 290

Re: Trouble with adding .vtp file in matlab to model

awesome that worked but I received an error in my next line which is:
rightShank.getDisplayer().setScaleFactors([PylonLength/10, PylonLength, PylonLength/10]);


same error
No appropriate method, property, or field getDisplayer for class org.opensim.modeling.Body.
by Robert Aguilar
Tue Oct 23, 2018 4:35 pm
Forum: 2018 Fall OpenSim Virtual Workshop
Topic: Trouble with adding .vtp file in matlab to model
Replies: 4
Views: 290

Trouble with adding .vtp file in matlab to model

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(.....