FamilySymbolFilter
Description:
A filter used to find all family symbols of the given family.
A filter used to find all family symbols of the given family.
Remarks:
This filter is a quick filter. Quick filters operate only on the ElementRecord, a low-memory class which has a limited interface to read element properties. Elements which are rejected by a quick filter will not be expanded in memory.
Note that it may be faster to get a list of symbol ids from GetFamilySymbolIds() rather than to iterate all of the contents of a document with this filter applied.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ElementFilter
Autodesk.Revit.DB.ElementQuickFilter
Autodesk.Revit.DB.FamilySymbolFilter
System.Object
Autodesk.Revit.DB.ElementFilter
Autodesk.Revit.DB.ElementQuickFilter
Autodesk.Revit.DB.FamilySymbolFilter
public class FamilySymbolFilter : ElementQuickFilter
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FamilySymbolFilter(ElementId) | None | Constructs a new instance of a filter to find all family symbols of the given family. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | (Inherited from ElementFilter ) | ElementFilter |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| PassesFilter(Element) | Boolean | Applies the filter to a given element. (Inherited from ElementFilter ) | ElementFilter |
| PassesFilter(Document, ElementId) | Boolean | Applies the filter to a given element. (Inherited from ElementFilter ) | ElementFilter |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FamilyId | ElementId | The family id. | |
| Inverted | bool | True if the results of the filter are inverted; elements that would normally be accepted by this filter will be rejected, and elements that would normally be rejected will be accepted. (Inherited from ElementFilter ) | ElementFilter |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from ElementFilter ) | ElementFilter |