RVTDocs.com

Application.GetAssets

Method
Description:
Gets all the Assets of the specified type.
Syntax
public IList<Asset> GetAssets(
	AssetType assetType
)
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