Arbortext IsoDraw > Référence du langage macro > Object Data Types > Layer Object
  
Layer Object
The Layer Data Type is a reference on an existing layer in Arbortext IsoDraw.
DEFINE myLyr AS layer
myLyr = add layer "extra layer"
All layer commands (add, cut, paste ...) return a reference on the modified layer. The properties of this layer object can be queried and set.
MACRO Add Layer

DEFINE myLyr AS layer
myLyr = add layer "Engine" 188 0 29
MESSAGE myLyr.name

myLyr.name = "GearBox"
MESSAGE myLyr.name

END MACRO
It is assumed that myLyr has already been defined as a layer for the following samples