Documentación de la API > Geometry items > Object ProCurve > Function ProCurvePersistentColorSet
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:
Synopsis
#include <ProCurve.h>
ProCurvePersistentColorSet
(
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
The function succeeded.
Model is in read-only state.
One or more input arguments was invalid.
There was a general error and the function failed.
Sample Code References
User Guide References
¿Fue esto útil?