Assets Object
Description
The Assets collection object provides access to assets within a library and supports the creation of new assets. Depending on where the Assets object was obtained from it will provide access to different types of assets.
Methods
Add |
Method that creates a new asset. The new created Asset object is returned. Currently only material and appearance assets can be created. When a material asset is created a physical asset is automatically created that is associated with it that you can edit. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Gets the number of items in this collection. |
Item |
Read-only property that returns the specified Asset object from the collection. |
Type |
Read-only property returning kAssetsObject indicating this object’s type. |
Accessed From
AssemblyDocument.Assets,
PartDocument.Assets
Samples
Version
Introduced in version 2014