How do you run a script when .nwf loads?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Apologies if this has been asked/answered before - I did have a look through the forums but I might have used the wrong terminology.
I have an .nwf file that references a .dwg file. I've created some Sets from Searches that collect elements that need to be hidden. If I save the .nwf then run the .bat file that creates the .nwd, all is good.
However, the .dwg gets (unavoidably) deleted and recreated every night, and this results in the hidden flags being reset and the hidden items reappearing when the automated nightly routine runs. I assume this is because the .nwf file is storing the details of my changes against the GUID, which keeps changing, and not the item name?
I initally tried using the Appearance Profiler > By Set option to make them all 100% transparent (not ideal as harder for the users to toggle on and off), but it seems that this still needs to be manually Run in order to initiate.
Is there a way to run a script when the .nwf is loaded that would loop through the Sets and toggle the Hidden flag?
I'm using Simulate 2019 for reference - could switch to Manage if that would help.