Options
User preferences for parsing of geometry.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.Options
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class Options : APIObject
The Options type exposes the following members.
Constructors
Name
Description
Public Method
Options.
Creates a default Options object.
Public Method
Options(Options)
Copy constructor.
Properties
Name
Description
Public Property
ComputeReferences
Determines whether or not references to geometric objects are computed.
Public Property
DetailLevel
The detail level for the geometry extracted with these options.
Public Property
IncludeNonVisibleObjects
Whether to extract element geometry objects not set as Visible. The default is false.
Public Property
Code Example
IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public Property
View
The view used for geometry extraction.
Methods
Name
Description
Public Method
Dispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
This class determines the output of the Element.Geometry property.