Share

AssetLibraries Object


Description

The AssetLibraries collection object provides access to the various asset libraries and also supports opening and migrating existing libraries, and creating new libraries. A library can contain both appearance and physical material assets.

Methods

Name Description
Add Method that creates a new asset library. The newly created AssetLibrary object is returned. The library can contain both appearance and material assets.
MigrateInventorStyle Method that migrates existing inventor color and material styles into an existing or new library.
Open Method that open an existing asset library. The opened AssetLibrary object is returned.

Properties

Name Description
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 AssetLibrary object from the collection.
Type Read-only property returning kAssetLibrariesObject indicating this object’s type.

Accessed From

Application.AssetLibraries, InventorServer.AssetLibraries, InventorServerObject.AssetLibraries

Samples

Name Description
Set the appearance of an occurrence. Sets the appearance of a selected occurrence in an assembly.

Version

Introduced in version 2014

Was this information helpful?