Arbortext IsoDraw > Macro Language Reference > Object Data Types > Document Object > document.lockedHidden
  
document.lockedHidden
Applies to Arbortext IsoDraw 7.0 F000 and later:
Returns or sets the show/hide state of locked elements in a document as boolean. This property corresponds to the Hide command on the Element menu.
true
Hide locked elements.
false
Show locked elements.
If a macro changes the state of document.lockedHidden, the changed show/hide state of locked elements is not saved in the document.
Recording a macro that selects or clears Hide on the Element menu adds a document.lockedHidden = {true|false} statement to the macro.
* 
Like Hide, this document property setting only affects locked elements on unlocked layers. Locked elements on locked layers are not affected.
document.lockedHidden = true
MACRO ObjectIndexDemo
DEFINE sID AS string
DEFINE sName AS string
sID = "AUTOID_3833"
IF ( exists(activeDoc.Objects[sID]) )
sName = activeDoc.Objects[sID].info.NAME
MESSAGE "Name: " + sName
ELSE
MESSAGE "Not Found!"
END IF
END MACRO