Document Viewer

« Back

HandsOn Query 5: Interrref Evaluation

Following Interref a5 of object A1: returns all objects refrenced by attribute a5

CC "Modeling" GET_ACT_MODEL
CC "AQL" debug EVAL_AQL_EXPRESSION expr:"({\"A1\"} --> \"a5\")" modelid:(modelid)
SETL st1:(objids)
IF (ecode = 0) {
CC "AdoScript" INFOBOX ("Found objects: " + st1)
}
ELSE {
CC "AdoScript" INFOBOX "An error has occured!"
}