Category Geometry items, Object ProCurve

Function ProCurvePersistentColorSet


Description
Sets the color of the specified curve. Note:

In order to see the change made to the color, use the function ProDisplistInvalidate() on the owner model.

Replacement in Object TOOLKIT: wfcWCurve::SetColorType
Synopsis
#include <ProCurve.h>
ProErrorProCurvePersistentColorSet(
ProSolid p_solid
/* (In)
The solid owner of the curve
*/
ProCurve p_curve
/* (In)
The curve handle
*/
ProColortype new_color
/* (In)
The new color for the curve
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThere was a general error and the function failed.

Manual References:

  1. Core: 3D Geometry: Visiting Solid Geometry
  2. Core: 3D Geometry: Visiting Solid Geometry

Sample Code References:

  1. pt_examples ( TestGraphics.c )