cancel
Showing results for 
Search instead for 
Did you mean: 

DIAGRAM API : How can I remove DrawingObjects from a diagram ?

SOLVED
Highlighted
Occasional Contributor

DIAGRAM API : How can I remove DrawingObjects from a diagram ?

Hello everyone,

 

I would like to remove dublicates ("doublons" in french) on diagrams using MEGA API.

 

My script is ready and I know how to identify my dublicates but I simply don't know how to remove DrawingItems from my drawing object. I am looking for the opposit of the MegaObjectInsert function. Does anybody have an idea ?

 

 

Thanks in advance.

 

Christoph  

 

1 REPLY
Occasional Contributor

Re : DIAGRAM API : How can I remove DrawingObjects from a diagram ?

I just found the answer by myself :

   odrawingItem.Erase

 

It's as simple as that. Smiley Happy