I have a problem to create an object on a opened model.


I write a macro with a custom UserDialog. The macro should be executed on a model.

This UserDialog transfer the user input to a report and the report create a object to a selected path and additionally it should create an object on the selected Model. 


But I get always an error code: 

oModel.createObjOcc(intSymbolNumber, oCreatedObject, resultX, resultY, true, true);  -->



I don´t get this errorcode, when the model is closed... 

Can someone help me? 




Tags: ARIS Report ARIS Report Scripting ARIS script macro script