AssetTexture Object
Description
The AssetTexture object represents a texture that’s associated with an asset value.
Methods
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 |
Read-only property that returns the number of asset values associated with this texture. |
Item |
Read-only property that returns the specified AssetValue object from the asset. |
TextureType |
Gets the current texture type. |
Type |
Read-only property returning kAssetTextureObject indicating this object’s type. |
Accessed From
ColorAssetValue.ConnectedTexture,
FloatAssetValue.ConnectedTexture,
TextureAssetValue.Value
Samples
Write out all appearance information to a file. |
This sample writes out information about all of the appearances in all libraries. This can be useful when trying to use the API to modify existing appearances by allowing to easily see what information is available for an appearance. |
Write out all document appearances |
This sample writes out information about all of the appearances in the active document. This can be useful when trying to use the API to modify existing appearances by allowing you to easily see what information is available for an appearance. |
Version
Introduced in version 2014