How to direct the MeasurementSet to a file in ScaleTool?
Posted: Sat Jun 12, 2021 1:37 am
Hi,
I'd like to direct the MeasurementSet data is Scale setup file to an external file similar to this:
<MeasurementSet file="measurements.xml">
If I do it manually, it works well in OpenSim.
But I couldn't find something in python to set the file:
I wonder if you would guide me how I can do it.
Regards,
Mohammadreza
I'd like to direct the MeasurementSet data is Scale setup file to an external file similar to this:
<MeasurementSet file="measurements.xml">
If I do it manually, it works well in OpenSim.
But I couldn't find something in python to set the file:
Code: Select all
scale = osim.ScaleTool()
scale.getModelScaler().getMeasurementSet().setFileName('measurements.xml')
Regards,
Mohammadreza