attributeWatchable
Syntax
<Path>.attributeWatchable(AttributeName:string) → boolean |
The method attributeWatchable returns if an attribute or method of the object designated by <Path> is observable (true) or not (false).
To check which attributes and methods of an object are observable, you can also select the object and press F8. Observable attributes and methods are marked with an asterisk (*) in the column Watchable in the dialog Show Attributes and Methods.
Parameter
The parameter AttributeName of data type string designates the attribute or method.
Return Value
The return value has the data type boolean.
Example
print ParallelStation.attributeWatchable("NumMU") |
Related Topic
Dialog Show Attributes and Methods
Related Topics
General Methods of All ObjectsaddObserver
closeDialog (all objects)
deleteObject
derive
duplicate
extendPath
getHTMLCode (all objects)
getObservers
getXYWH
hasAttribute (2D)
isNameUnique (identifier)
memUsage
moveToFolder
openDialog (all objects)
print (all objects)
removeAllObservers
removeObserver
replace
setName
setPosition
setXYWH
updateDialog
writeObject