auto_xyz_SetIsolineStyleΒΆ
auto_xyz_SetIsolineStyle sets the line style for all Isolines of a 3D dataset to the specified style.
- bool = auto_xyz_SetIsolineStyle(hData, nStyle, nWidth, rvColorRGB)
- bool = auto_xyz_SetIsolineStyle(hData, nStyle, nWidth, rvColorRGB, rvMinIsoVal, rvMaxIsoVal)
Return Value
bool is TRUE (1) if the function was successful, otherwise FALSE (0).
Parameters
- hData
hData is the handle of a 3D dataset. The handle is returned by the function auto_LoadDataset.
- nStyle
nStyle is one of the following values:
Value |
Meaning |
---|---|
PS_SOLID |
solid line pen |
PS_DASH |
dash pen |
PS_DOT |
dot pen |
PS_DASHDOT |
dash dot pen |
PS_DASHDOTDOT |
dash dot dot pen |
PS_NULL |
invisible pen |
- nWidth
nWidth is the width of the pen in 0.1 mm.
- rvColorRGB
rvColorRGB is a vector with 3 elements that set the pen color:
Value |
Meaning |
---|---|
rvColorRGB[1] |
Red (0 to 255) |
rvColorRGB[2] |
Green (0 to 255) |
rvColorRGB[3] |
Blue (0 to 255) |
Example
auto_xy_SetIsolineStyle(hData, PS_SOLID, 4, [255,0,0]); // Red
Sets all Isolines in the range 50 to 100 to the specified line style:
auto_xyz_SetIsolineStyle(hData, PS_SOLID, 4, [255,0,0], 50, 100);
See also
Overview Automation, auto_LoadDataset, PenCreate, MarkerCreate
id-277409