plt3DIPlot SetBackgroundColor

Sets the current background color of the HyperGraph 3D window.

Syntax

plt3DIPlot_handle SetBackgroundColor color

Application

HyperWorks Tcl Query

Description

Sets the current background color of the HyperGraph 3D window.

Inputs

color
Three values representing red, green, and blue. color can also be the color name or a single value from 0 - 63 representing an index on the HyperWorks color wheel.

Example

hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
myProjectName GetPageHandle myPageName [myProjectName GetActivePage]
myPageName GetWindowHandle myWindowName [myPageName GetActiveWindow]
myWindowName GetClientHandle myPlotName
myPlotName SetBackgroundColor {35 85 199}
myPlotName SetBackgroundColor blue
myPlotName SetBackgroundColor 22

Errors

Success (0) or an error code.