Message 1 of 3
iLogic - Hide workplanes before save document
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
View > Visibility > Object Visibility
Descrição:
When saving parts and assemblies, I would like User Workplanes to always be hidden.
We have a keyboard shortcut "Alt + [", however, I would like to leave the active option of Work Plans always hidden.
I share:
"Dear Alexandre Vieira,
Create a rule with below iLogic code and add to "Before Save Document" event triggers (For reference https://www.youtube.com/watch?v=h38GRrDdfjs).
Dim doc As Document
doc = ThisApplication.ActiveDocument
Dim odef As ComponentDefinition
odef = doc.ComponentDefinition
Dim p As WorkPlane
For Each p In odef.Workplanes
p.Visible= False
Next
doc.Save()
Best Regards,
CHANDRA SHEKAR G"