MaterialAsset.Category Property
Parent Object: MaterialAssetDescription
Gets the category that this asset is a member of. A value of Nothing indicates this asset is not a member of a category. A value of Nothing is also returned when an Asset is associated with a document, rather than a library. Categories don’t exist in a documen.
Syntax
MaterialAsset.Category() As AssetCategoryProperty Value
This is a read/write property whose value is an AssetCategory.Samples
Name | Description |
Write out all materials to a file. | This sample writes out information about all of the materials in all libraries. This can be useful when trying to use the API to modify existing materials by allowing to easily see what information is available for a material. |
Write out all document materials to a file. | This sample writes out information about all of the materials in the active document. This can be useful when trying to use the API to modify existing materials by allowing you to easily see what information is available for a material. |