Arbortext IsoDraw > Macro Language Reference > Object Data Types > Element Object > element.info
  
element.info
With element.info you can modify the properties of the object info of the element.
MESSAGE myElem.info.id
element.info.type
Returns and sets the type of the object info as string.
MESSAGE myElem.info.type
element.info.id
Returns and sets the object id as string.
myElem.info.id = "AQ01"
element.info.name
Returns and sets the object name as string.
myElem.info.name = "TI"
element.info.tip
Returns and sets the object tip as string.
myElem.info.tip = "hi"
element.info.hotspot
Returns and sets the object hotspot as string. Allowed string values are “none”, “line” and “region”
myElem.info.hotspot = "region"
element.info.attrCount
Returns the number of attributes of the object as integer. This property is read only.
MESSAGE myElem.info.attrCount
element.info.calloutCount
Returns the number of callouts connected to the object as integer. This property is read only.
MESSAGE myElem.info.calloutCount
# myElem must be an object; i.e., it must have object info
element.info.callouts[]
Returns the nth callout connected to object in a variable of type ELEMENT. This property is read only.
MESSAGE myElem.info.callouts[1].box
# Prints the bounding box of the first connected callout to myElem
# myElem must be an object; i.e., it must have object info
This property returns a reference to an object. You can retrieve details of the object using, for example, activeDoc.firstSelectedElement. You can also assign it to a variable of type ELEMENT. For example:
DEFINE calloutElement as ELEMENT
calloutElement = activeDoc.firstSelectedElement.info.callouts[1]