plt3DISurface SetColor

Sets the color of the surface.

Syntax

plt3DISurface_handle SetColor color

Application

Tcl Modify

Description

The above example refers to colors by name, by RGB value, and by index.

Inputs

color
A color identifier.

Example

To set the color of an existing surface to red, then white, then blue:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName 1
myPageName GetWindowHandle myWinName 1
myWinName GetClientHandle myClientName
myClientName GetSurfaceHandle mySurfaceName 1
mySurfaceName SetColor red
mySurfaceName SetColor "255 255 255"
mySurfaceName SetColor 4

Errors

None.