Arbortext IsoDraw > Macro Language Reference > Object Data Types > Document Object > document.layerCount
  
document.layerCount
Returns the number of layers of the document as integer.
MESSAGE myDoc.layerCount