Search the Community
Showing results for tags 'displaytheme'.
Found 1 result
zetazee posted a topic in .NET, ObjectARX & VBAHi, I have 2 display themes in my DWG, and would like to use the .NET API to activate one display theme and deactivate the other. I have searched AutoCAD forums and here, but there wasn't any threads on this. Current findings so far. Showing part of my code. DisplayTheme has the public data member IsActive, and I was able to access the 2 display themes in my DWG, whereby one is active, the other is not. Search through the list of DisplayTheme public methods, but there was not any that could activate or deactivate it. DisplayTheme dt = tm.GetObject(id, OpenMode.ForWrite) as DisplayTheme; ed.WriteMessage(dt.IsActive + "\n"); Any assistance would be great. Thanks.