Autodesk.Revit.DB.BehaviorType
The Autodesk.Revit.DB.BehaviorType is an enumeration that represents the various types of behaviors that can be exhibited by elements in a Revit project.
Enumerated Values
The values included in Autodesk.Revit.DB.BehaviorType enumeration are:
- Default: This value indicates the default behavior for elements in the project.
- Analytical: This value indicates that the element is considered to be a part of the analytical model used for structural analysis.
- Datum: This value indicates that the element is considered to be a fixed reference point or line used for measuring or locating other elements.
- Hidden: This value indicates that the element is not visible in the project views or schedules.
- Model: This value indicates that the element contributes to the physical (or graphic) representation of the project.
- RoomBounding: This value indicates that the element is used to define the boundaries of a room.
Remarks
The Autodesk.Revit.DB.BehaviorType enumeration is used in several Revit API methods to specify the type of behavior to be exhibited by a particular element. The values in this enumeration are mutually exclusive, meaning that an element can only have one behavior type at a time.
Developers can use the Autodesk.Revit.DB.BehaviorType enumeration to query or set the behavior of an element using the Element.Behavior property.
Source
https://www.revitapidocs.com/2020.1/9725a5f5-069f-2df7-f903-a6c6071e8b86.htm