Arbortext IsoDraw > Informazioni di riferimento sul linguaggio macro > Object Data Types > Document Object > document.layerCount
  
document.layerCount
Returns the number of layers of the document as integer.
MESSAGE myDoc.layerCount