Revit 2026 API
Element |
Constructs a new instance of a filter to match elements by structural type, with the option to match all elements which are of the given structural type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ElementStructuralTypeFilter( StructuralType structuralType, bool inverted )
Public Sub New ( structuralType As StructuralType, inverted As Boolean )
public: ElementStructuralTypeFilter( StructuralType structuralType, bool inverted )
new : structuralType : StructuralType * inverted : bool -> ElementStructuralTypeFilter
Parameters
- structuralType StructuralType
- The structural type to match.
- inverted Boolean
- True if the filter should match all elements which are not of the given structural type.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also