Arbortext IsoDraw > Macro Language Reference > Object Data Types > Sub Data Types for Attribute Preferences > .Pens[ ]
  
.Pens[ ]
This property gives access to all pen attributes but it can not be used directly.
.Pens[ ].name
Returns and sets the name of a specific default pen as string.
app.Pens["Thick"].name = "myThickPen"
.Pens[ ].width
Returns and sets the width of a specific default pen as float.
app.Pens[1].width = 2.5
.Pens[ ].color
This is a ColorSpec (see ColorSpec) type property.
MESSAGE app.Pens["Medium"].color.type
.Pens[ ].style
Returns and sets the style of a specific pen as string.
app.Pens["Thick"].style = "Solid"
.Pens[ ].halo
Returns and sets the type of halo as string.
app.Pens[1].halo = "Autom. Long"
.Pens[ ].switchPen
Returns and sets the type of pen switched to as string.
app.Pens[1].switchPen = "Thin"
.Pens[ ].screenColor
Returns and sets the screen color as RGBColor.
app.Pens[3].screenColor.red = 122
app.Pens[3].screenColor.green = 122
app.Pens[3].screenColor.blue = 122