Constructs a new instance of a filter to match family instances that have the given structural material type.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
| C# |
|---|
public StructuralMaterialTypeFilter( StructuralMaterialType structuralMaterialType ) |
| Visual Basic |
|---|
Public Sub New ( _ structuralMaterialType As StructuralMaterialType _ ) |
| Visual C++ |
|---|
public: StructuralMaterialTypeFilter( StructuralMaterialType structuralMaterialType ) |
Parameters
- structuralMaterialType
- Type: Autodesk.Revit.DB.Structure..::..StructuralMaterialType
The structural material type to match.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |