poIModel GetColorModeList

Gets the list of available color modes.

Syntax

poIModel_handle GetColorModeList

Application

HyperView Tcl Query

Description

This command retrieves a list of valid color modes for a model (Component, Model, Normal, or PartAssembly)

Example

To get the list of available color modes 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 GetColorModeList
hwi CloseStack

Errors

Returns HW_Warning (2) if the model handle is invalid.