Gets storage value as IFCAggregate when its PrimitiveType is aggregate.
Namespace: Autodesk.Revit.DB.IFCAssembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2013
Syntax
| C# |
|---|
public IFCAggregate AsAggregate() |
| Visual Basic |
|---|
Public Function AsAggregate As IFCAggregate |
| Visual C++ |
|---|
public: IFCAggregate^ AsAggregate() |
Return Value
The IFCAggregate.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InapplicableDataException | The primitive type is not aggregate. |