ElementStructuralTypeFilter(StructuralType, Boolean) Constructor |
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.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic 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.
Exceptions
See Also