ScaleTool object constructing problem in OpenSim API
Posted: Sun Jul 23, 2017 4:30 am
Dear All:
I try to use OpenSim API ScaleTool to scale models.The code is as:
ScaleTool scl_tol();
scl_tol.setSubjectMass(72.6);
There is unhandled exception in VC++ when "scl_tol.setSubjectMass" is being executed. Maybe due to the ScaleTool is not successfully constructed?
Even if I add a xml scale setting file (proved ok to use in OpenSim GUI) as a parameter to construct the ScaleTool object, the unhandled exception problem is still the same when executing setSubjectMass!
Thank you for anyone who can help!
I try to use OpenSim API ScaleTool to scale models.The code is as:
ScaleTool scl_tol();
scl_tol.setSubjectMass(72.6);
There is unhandled exception in VC++ when "scl_tol.setSubjectMass" is being executed. Maybe due to the ScaleTool is not successfully constructed?
Even if I add a xml scale setting file (proved ok to use in OpenSim GUI) as a parameter to construct the ScaleTool object, the unhandled exception problem is still the same when executing setSubjectMass!
Thank you for anyone who can help!