07-30-2023 02:26 PM
Hi,
Just wondering if you know a way that could select/deselect a curve to be displayed in 2D plot in VIEW from a script? Many thanks.
Regards,
Kane
Solved! Go to Solution.
07-31-2023 01:04 AM
Hello Kane,
in VIEW you can access a curve via the Curves2D collection. You can show and hide the curve using the Enable property. Use the name or index for your curve you want to hide.
View.ActiveSheet.Areas("Area : 1").DisplayObj.Curves2D.Item(1).Enable = False
Regards,
AnJalpaka
07-31-2023 03:32 AM
Hi AnJalpaka,
Your suggestion works perfectly. Thanks a lot.
Regards,
Kane