GET_DANGLING_INTERREFS

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

Syntax

CC "Core" GET_DANGLING_INTERREFS modelid:intValue .
#-->RESULT ecode:intValue reftext:strValue

Parameters

modelidintValue

Returns

ecodeintValue, Contains the error code or is 0 in case of success.
reftextstrValue

Remarks

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

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

Example