Application.GetAssets
Method
Description:
Gets all the Assets of the specified type.
Gets all the Assets of the specified type.
Parameters
Parameter | Type | Description |
---|---|---|
assetType | AssetType | The asset type. |
Return Value
Type | Description |
---|---|
IList | Returns an array of all the Assets within Revit of the specified type. |
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |