How to get all metricNames of current style?

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

Sign In or Register to comment.