Share

MaterialAsset.IsReadOnly Property

Parent Object: MaterialAsset

Description

Gets the boolean flag that indicates if this asset is read-only. If True any attempted edits will fail.

Syntax

MaterialAsset.IsReadOnly() As Boolean

Property Value

This is a read only property whose value is a Boolean.

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.

Version

Introduced in version 2014

Was this information helpful?