[Solved]Detect and turn off the grid of a Draft object?

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
freedman
Veteran
Posts: 3436
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

[Solved]Detect and turn off the grid of a Draft object?

Post by freedman »

I'm trying to use a DraftWB feature (clone) in PartDesign and that darn grid comes with it. I see a python console "Draft_ToogleGrid" but I would like to detect if it's turned on, then I will turn it off. Anyone have some script to do this, I have a macro running all the time so I could detect something.
Thanks

Found this link: https://forum.freecadweb.org/viewtopic. ... ff#p444910
Post Reply