Method SetColorMode
SetColorMode(DocumentId, MaterialModelType)
Sets the color mode of a coating document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 18, 0, 0)]
void SetColorMode(DocumentId inDocumentId, MaterialModelType inModel)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| MaterialModelType | inModel | The color mode. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.17.