DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Anyones knows how does GraphObjDestroy work????

Hello,
 
Anyone knows how does it work???
 
I tryed the following script:
 

Call GRAPHObjOpen("2DAxis3")
Call GRAPHObjDestroy("2DAxis3")
 
But it don't makes error but it don't causes any efect to may LPD file.
 
Someone how to make an scipt to delete a full graph ???
 
 
Thanks in advance.
0 Kudos
Message 1 of 7
(4,034 Views)

Hello mvila!

Try the 'GraphObjDelete' command instead and add a 'PicUpdate'.

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 2 of 7
(4,031 Views)
Thanks but even updating the picture it doesn't causes any efect.
 
Any outher problem is observed by you???
0 Kudos
Message 3 of 7
(4,028 Views)
Hello mvila!
 
I forgot to say that you have to delete the 'GraphObjOpen' command.
 
If this still doesn't work can you please specifiy your DIAdem version.
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 4 of 7
(4,026 Views)

we still work with 8.1.

 Tehanks in advance for your interss

 

0 Kudos
Message 5 of 7
(4,018 Views)
Hello mvila!
 
In 8.1 it didn't work. You can use 'Call GraphObjDelObj("2D-Axis","2DAxis1")' (no trailing GraphObjOpen!) and than save to a temporary file and reload it. Not really pretty, but it should work.
 
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 6 of 7
(4,012 Views)

Matthias,

Thank you very much, it work but it not in the way of save and reload, it have an error when you save the LPD file. It only work updating the pic.

Else, if its possible, can you help me deleting a line of the graph???

I tryed with "GraphObjChnClear(GraphObjName) " but also it doesen't work...

thanks in advance.

0 Kudos
Message 7 of 7
(4,008 Views)