Arbortext IsoDraw > Macro Language Reference > Object Data Types > Document Object > document.viewports[ ] > document.viewports[].LayerCount
  
document.viewports[].LayerCount
Returns the number of layers in a viewport as integer. This property is read only.
MESSAGE myDoc.viewports[1].LayerCount