I'm starting to investigate modifying a gadget so that it only acts on Sheets that have their visibility turned on in the sheets tab.
I can see that CadObject has a isVisible method, but I don't think a Sheet is a CadObject. Is there a way to test the visibility of a Sheet?
Is there a way to check whether Sheet is visible or not?
- adze_cnc
- Vectric Wizard
- Posts: 4325
- Joined: Sat Jul 27, 2013 10:08 pm
- Model of CNC Machine: AXYZ 4008
- Location: Vancouver, BC, Canada
Re: Is there a way to check whether Sheet is visible or not?
Page 56 of "Vectric Lua Interface Documentation v11.pdf" is the page for "CadSheetManager" and there is nothing there for checking visibility,
- TomWS
- Vectric Wizard
- Posts: 350
- Joined: Sat Mar 06, 2021 11:06 pm
- Model of CNC Machine: OB Lead 1010, Mach3; OB C-Beam 1060 grbl
Re: Is there a way to check whether Sheet is visible or not?
Yeah, I found that, but, as hope reigns eternal, I was hoping the documentation was lacking, rather than the capability.
I'm trying to understand how the Sheets Tab controls visibility, but it's not an attribute that can be checked...