Hi
I am using this code periously posted at the swamp to save layout views but would also like to save a layer snapshot at the same time as you can with the view command. Does anyone have a code example of how you would to this.
http://www.theswamp.org/index.php?topic=42747.0
Just Added to what was already pointed out,
I think it is stored in the LayerTables's ExtensionDictionary in another dictionary called ACAD_LAYERSTATES
The dictionary should contain entries(Xrecords) called ACAD_VIEWS_XXXXXX where XXXXX is the view name.
The ResultBuffer returned from the Xrecod Data should contain information about the layers.
If you look at the picture the '90' field with a value 10 correlates with a layer that is frozen, or it could pure coincidence
Guys
Thanks for the reply but I found some old lsp to do the other half of the problem I was trying to solve here that I should be able to modify with some lsp I already have to save a view with a layersnapshot.
It looks like doing it in .net is just to tricky and time consuming at this stage.
Can't find what you're looking for? Ask the community or share your knowledge.