Hi guys & gals,
I’m revisiting this after spending some time getting acquainted with the LayerState Manager. I’ll describe my application first:
I have written a script (with the help of this forum) that I can run from inside any .3dm to archive parts based on their manufacturing stage, and then import corresponding layouts to create blueprints.
I created ALL of the layouts (say, “Stage 1”, “Stage 2”, “Stage 3” etc) inside a master “Template” file, in which I can set the per-detail visibility. In this master file, the detail visibility behave nicely, because the other layouts/layers are present and recognized as “detail OFF”.
If I export these layouts individually, these “detail OFF” settings are forgotten, since they are exported into a new .3dm - even if the layer names are the same as the master “Template” file.
SO, I tried to run the LayerState manager, but it seems to only set detail visibility as a snapshot - it doesn’t apply visibility settings to the details themselves. If I originally had Layout “Stage 1” details all set to display only items on the “Stage 1 parts” layer (hide “Stage 2 parts” etc). But after importing both layouts into a new .3dm and using LayerState Manager, the detail properties don’t go back to what I expect.
This was a bit rambly, sorry. Is it clear what I’m getting at?
*******UPDATE: I’m trying a version where all layers in the “Template” are saved with each Layout. Then, all of those layers’ Detail On/Off settings are kept.