| Revit Preview Release API |
| AdaptiveComponentFamilyUtils..::..GetNumberOfAdaptivePoints Method |
| AdaptiveComponentFamilyUtils Class See Also |
Gets number of Adaptive Point Elements in Adaptive Component Family.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2012
Syntax
| C# |
|---|
public static int GetNumberOfAdaptivePoints( Family family ) |
| Visual Basic |
|---|
Public Shared Function GetNumberOfAdaptivePoints ( _ family As Family _ ) As Integer |
| Visual C++ |
|---|
public: static int GetNumberOfAdaptivePoints( Family^ family ) |
Parameters
- family
- Type: Autodesk.Revit.DB..::..Family
The Family
Return Value
Number of Adaptive Point Element References in Adaptive Component Family.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The Family family is not an Adaptive Component Family. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | This operation failed. |