New Section command

 From:  Michael Gibson
12071.43 In reply to 12071.41 
@Pilou, it's also possible to automatically set a specific style to be the active style in a shortcut key as well, like this:

Section oncommandstart="var style=moi.geometryDatabase.findStyle( 'Rouge' ); moi.geometryDatabase.activeStyle=style.index;" UseXY=true UseXZ=false UseYZ=false

If you set that on a shortcut key when you press it, it should set the XY checkbox to be on, XZ and YZ checkboxes off and make a style named 'Rouge' to be the active style.

- Michael