Design Options
Currently there is very limited support for design options in Revit API |
Querying Design Options
In Revit API, Design Options are represented by the DB.DesignOption |
Use the
Active Design Option
to find the design option that is currently active in Revit UI.
Then you can use the
Design Option Identity
and
Design Option Set Identity
to inspect the identity of each Design Option or Design Option Set.
To query all the Design Option Sets and Design Options in a document, use the
Query Design Option Sets
and
Query Design Options
components respectively.
Notice that the Design Option Set object is a simple |
Collecting Design Option Elements
You can pass a design option to the
Design Option Filter
component to collect the elements belonging to a given design option.
Deleting Design Options
Due to challenges of deleting Design Options, we have not created a workflow yet.
|