Skip to content

GET_DANGLING_INTERREFS ​

GET_DANGLING_INTERREFS retrieves all broken outgoing references of the model specified by modelid.

Syntax ​

leo-grammar
CC "Core" GET_DANGLING_INTERREFS modelid:intValue .


#-->RESULT ecode:intValue reftext:strValue

Parameters ​

  • modelid (idValue) -

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.
  • reftext (strValue) -

Details ​

The return variable reftext contains a string which contains 0 to n lines of the following code:

leo-grammar
REF srcmodelid - intValue
    srcdobjid - intValue
    srcattrid - intValue
    srcobjname - strValue
    targettype - strValue
    tmodeltype - strValue
    tmodelname - strValue
    tversion - strValue
    tclassname - strValue
    tobjname - strValue '\n'

targettype is either "model" or "object" depending on whether you have reference to a model (model reference) or a reference to an object in a model (instance reference).
If targettype is "model" you can ignore the variables tclassname and tobjname since they always contain an empty string ("").

See Also ​

Examples ​

Versions and Changes ​

Available since ADOxx 1.3