plt3DIPlot SetForegroundColor
Sets the current foreground color of the HyperGraph window.
Syntax
plt3DIPlot_handle SetForegroundColorcolor
Application
HyperWorks Tcl Query
Description
Sets the current foreground color of the HyperGraph 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 SetForegroundColor {35 85 199}
myPlotName SetForegroundColor blue
myPlotName SetForegroundColor 22
Errors
Success (0) or an error code.