PDA

View Full Version : change view properties



larjia
2007-04-18, 09:54 AM
Hi,
Do you know if there's some ways to change the view properties through Revit API?
For example, if I can change the "detail level" from "course" to "medium", and change the "model Graphics Style" from "Wireframe" to "Hidden Line"?

GuyR
2007-04-18, 09:59 PM
Of the top of my head these builtin parameters might do it for you, you'd just need to check they're not readonly and not sure about the wireframe one.

Autodesk.Revit.Parameters.BuiltInParameter.VIEW_DETAIL_LEVEL;
Autodesk.Revit.Parameters.BuiltInParameter.VIEW_MODEL_DISPLAY_MODE

HTH,

Guy