Export ScaleTool setting xml
Posted: Tue Sep 08, 2020 5:32 am
Hello,
Using python API for scaling, I
1. generate an scale tool instance by loading an generic scale_settings.xml
2. than set some specific values (i.e. ScaleTool.getModelScaler().setOutputModelFileName('output_model_name')
3. run the scale tool.
For some reason (i.e. documentation) I'ld like to export the manipulated scale_settings.xml from 2. step.
The scaletool function I've found so far print the scale factors to a xml file,
... but they do not print the scale settings to xml. Is there any method you recommend?
Using python API for scaling, I
1. generate an scale tool instance by loading an generic scale_settings.xml
2. than set some specific values (i.e. ScaleTool.getModelScaler().setOutputModelFileName('output_model_name')
3. run the scale tool.
For some reason (i.e. documentation) I'ld like to export the manipulated scale_settings.xml from 2. step.
The scaletool function I've found so far print the scale factors to a xml file,
Code: Select all
ScaleTool.print('setup_scale.xml')
ScaleTool.getModelScaler().setOutputScaleFileName()
ScaleTool.setPrintResultFiles()