Update Muscle Path
Posted: Tue Jul 18, 2023 4:18 am
Hi, this question is related to my question in viewtopic.php?f=91&t=16752
I am updating muscle paths in a model.
The problem is that stating
"state = model.initSystem()"
before "loc=model.getMuscles().get(muscle).getGeometryPath().getPathPointSet().get(point).getLocation(state)",
does not allow for an automatic update of the model.
What do I need to do to update the default model state so that I can export the updated model to a .osim file?
I am updating muscle paths in a model.
The problem is that stating
"state = model.initSystem()"
before "loc=model.getMuscles().get(muscle).getGeometryPath().getPathPointSet().get(point).getLocation(state)",
does not allow for an automatic update of the model.
What do I need to do to update the default model state so that I can export the updated model to a .osim file?