API Documentation > Geometry items > Object ProCurve > Function ProCurveColorSet
Function ProCurveColorSet
DEPRECATED:
Since Wildfire 5.0
Description
NOTE:
This function is deprecated. Use ProCurvePersistentColorSet() instead. Sets the color of the specified curve, and returns the original color. Note:
In order to see the change made to the color, use the function ProDisplistInvalidate() on the owner model.
Synopsis
#include <ProCurve.h>
ProCurveColorSet
(
ProCurve p_curve
/* (In)
The curve handle
*/
ProColortype new_color
/* (In)
The new color for the curve
*/
ProColortype* p_old_color
/* (Out)
The color of the curve before the change
*/
)
Returns
The function completed successfully.
Invalid input argument(s).
Was this helpful?