How to get all metricNames of current style?
kabexef
Posts: 76
In the http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/general_ui/simple_dialog/start sample i found the following:
// Get the current stylevar oStyle = App.getStyle(); // Get the height for buttonsvar nBtnHeight = oStyle.pixelMetric( "DZ_ButtonHeight" );
In another example i found, that DZ_GeneralMargin is another valid metricName.
So, how to get the list of all metricNames of the current style or all the default names for DAZ-Styles?
Comments
I'm not aware that there is currently a reference for the style definitions.
That's i was afraid of. But thanks for response.