How to Get Device StyleName in Autocad MEP 2011 through c#
Asked
Active
Viewed 301 times
1 Answers
0
To display style sheet of current layout :
Layout layout = LayoutManager.Current.CurrentLayout;
PlotSettings plotSettings = new PlotSettings(layout.ModelType);
plotSettings.CopyFrom(layout);
MessageBox.Show(plotSettings.CurrentStyleSheet);

Maxence
- 12,868
- 5
- 57
- 69
-
I want to know how to get Device Object Style Property Name (Like for Description object.Description) – user633558 Feb 25 '11 at 08:43
-
Don't understand what you mean. Device -> Plot device ? or display device ? – Maxence Feb 25 '11 at 10:46