Get/Manipulate model layer Xref override
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
for one of our plugins we are trying to figure out how to get and manipulate Layer Overrides (on / thaw / color/ transparency / ...) at a model/drawing level.
We know how to do this at a Viewport level and Layout level (which is really the same as with VPs), are able to iterate throughout all Xrefs and so on, but we just cannot quite figure out where this drawing-scope information is saved and how we can access it from the .NET C# API, we don't necessarily need a full code sample, just the class and a quick overview of how to get the corresponding instance.
Sadly the API documentation + forum could not help us this time around.
From a quick test, AutoCAD saves this information as an override, as it is able to list it on the Layer State interface (as seen from the model space), even if the external reference cannot be found.