GET_VIS_ATTR_COUNT ​
GET_VIS_ATTR_COUNT returns the number of attributes of a modeling object or connector visible in the graphical representation.
Syntax ​
leo-grammar
CC "Modeling" GET_VIS_ATTR_COUNT modelid:intValue objid:idValue .
# --> RESULT count:intValue .
Parameters ​
modelid
(idValue) -objid
(idValue) -
Returns ​
count
(intValue) -
Details ​
See Also ​
Examples ​
asc
CC "Modeling" GET_SELECTED
IF (ecode = 0) {
SEND "GET_ACTIVE_MODEL" to:"Modeling" answer:mid
SET modelid:(VAL mid)
FOR objid in:(objids) {
CC "Modeling" debug GET_VIS_ATTR_COUNT modelid:(modelid) objid:(VAL objid)
FOR index from:0 to:(count - 1) {
CC "Modeling" debug GET_VIS_ATTR_ID modelid:(modelid) objid:(VAL objid) index:(index)
CC "Modeling" debug GET_VIS_ATTR_BOUNDS modelid:(modelid) objid:(VAL objid) index:(index)
}
}
}
Versions and Changes ​
Available since ADOxx 1.3