Is there a way to delete a GfxObj using ARIS Script?

Translate this page Printer-friendly version bookmark or share this page
Brandon's picture

Posted: 2010-02-08
337 views | 4 comments | category: ARIS Support

0
show all articles

I am looking for an ARIS scripting example for deleting a polygon from a model.

 

Thanks!

Comments
Ellen's picture

This is for a report not a macro, correct? If you have already grabbed the GfxObj, all you have to do is use "gfxObj.Remove()" to remove it from the model.

Roman's picture

Hi there, I have the same problem.
With the command "gfxObj.Remove()" it does not work. I get the Objects with "oModel.getGfxObjects()". Actually i work with Service-Release 04. Does this work only with newer Versions?

Thanks!

Brandon's picture

This method API was new in Service Release 05.  Once we upgraded I was able to use the Remove() method for gfxObj.

Roman's picture

Thanks for this information. We actually testing the latest service-release. so i will test i there.