RevitAPI: how to get Graphic Display Options

中文链接

By Aaron Lu

Several customers is asking how to get Graphic Display Options from Revit API, after my investigation, I found API did not expose all available information in UI, what are available is shown in below picture, makred with 1,2,3:

GraphicDisplayOptions

Related methods are:

ViewDisplayModel displayModel = view.GetViewDisplayModel(); //1
ViewDisplaySketchyLines sketchyLines = view.GetSketchyLines(); //2
SunAndShadowSettings sunAndShadowSettings = view.SunAndShadowSettings; //3

 


Comments

One response to “RevitAPI: how to get Graphic Display Options”

  1. I’d like to thank the author for writing such an insightful and informative blog post about graphic display that is not just useful to the readers but also revealing.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading