Arbortext IsoDraw > Macro Language Reference > Window Commands > Attribute Window > Styles > Add Style
  
Add Style
The ADD STYLE command creates a new style. This new style will be added to the currently active document. If there is already an active style the added style will inherit the attributes of the active style. After the new style is added to the document this style will be the new active style, used for all following elements.
* 
If there is no document open, the created style will be a new standard style available in all new documents.
ADD STYLE"name"pattern
name
Name of the new style. If there is already a style with that name the command can not be executed. The following characters are forbidden within a style name:
Forward slash (/)
Circumflex accent (^)
Exclamation point (!)
Less than (<)
Left parenthesis “(“
Colon (:)
pattern
Optional parameter consists of 6 floats defining the different strokes and gaps of the patterns:
stroke1 gap1 stroke2 gap2 stroke3 gap3
ADD STYLE "myStyle"

#adding a style with the optional patterns
ADD STYLE "myNewStyle" 0.5 2.5 0.5 3.5 1.5 1.5