Hi all,

I can't to remove occurence and connection from model. I use Remove() method, but it has no effect. What could be reason for that this is not successful?

For example - I have simple report run on object. There are 2 lines in report:

var oOccs = ArisData.getSelectedObjOccs();
oOccs[0].Remove();

I tried unsuccessfully this code for connection:

oCxnList = oOccs[o].CxnOccList();
oCxnList[0].Remove();

or

oCxnList[0].Cxn().Delete(false);

Object and connection are still in model... :(

Do you have any idea?

P.S. What is difference between relations and connections?

 or register to reply.

Notify Moderator