poIModel GetColorMode

Gets the current color mode for the model.

Syntax

poIModel_handle GetColorMode

Application

HyperView Tcl Query

Description

This command retrieves the current color mode setting of the model. Options include Component, Model, Normal, or PartAssembly.

Example

To get the current color mode for a model:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetColorMode
hwi CloseStack

Errors

None.