12-10-2007 07:27 AM
12-10-2007 08:28 AM
Hi mvila
If you know the name of the axis system (eg. "2D-Axis1") and the name of the curve (e.g. "2DObj6_Curve1") you can use the following scipt to delete a single curve:
'------------------- Curve and axis definition ---------------------
Call
GraphObjOpen("2D-Axis1")'------------------- Curve list -------------------------------
Call GraphObjOpen("2DObj6_Curve1")
D2CChnXName =""
D2CChnYName =""
Call GraphObjClose("2DObj6_Curve1")
Call
GraphObjClose("2D-Axis1")Call
PicUpdate() 'Updates the report If you want to delete all curves you can use GraphObjChnClear.Call
GraphObjChnClear("2D-Axis1")Call
PicUpdate() 'Updates the reportHope this helps.
Winfried
12-11-2007 01:21 AM
12-11-2007 01:59 AM
Hi mvila
As I show you in the first example you have to assign an empty string ("") to the x and y channel to delete a single curve.
Winfried
12-11-2007 02:08 AM
I know that I used the following script ... but it don't causes any effect. Do you have another way to do that???
Obviously I checked that everi Object Name is correct.
'------------------- Curve and axis definition ---------------------
Call GraphObjOpen("2DAxis5")
'------------------- Curve list -------------------------------
Call GraphObjOpen("2DObj5_Curve2")
D2CChnXName =""
D2CChnYName =""
Call GraphObjClose("2DObj5_Curve2")
Call GraphObjClose("2DAxis5")
Call PicUpdate() 'Updates the report
12-11-2007 02:12 AM
Also I tried "GraphObjDestroy(GraphObjName)" but also don't work.
thanks in advance.