| Revit 2020 API |
| AdaptiveComponentInstanceUtils..::..IsAdaptiveComponentInstance Method |
| AdaptiveComponentInstanceUtils Class See Also |
Verifies if a FamilyInstance is an Adaptive Component Instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2012
Syntax
| C# |
|---|
public static bool IsAdaptiveComponentInstance( FamilyInstance famInst ) |
| Visual Basic |
|---|
Public Shared Function IsAdaptiveComponentInstance ( _ famInst As FamilyInstance _ ) As Boolean |
| Visual C++ |
|---|
public: static bool IsAdaptiveComponentInstance( FamilyInstance^ famInst ) |
Parameters
- famInst
- Type: Autodesk.Revit.DB..::..FamilyInstance
The FamilyInstance
Return Value
True if the FamilyInstance has an Adaptive Component Instances.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |