Category Geometry items, Object ProCurve

Function ProCurvePersistentLinestyleSet


Description
Sets the linestyle of the specified curve. Note:

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

Replacement in Object TOOLKIT: wfcWCurve::SetLineStyle
Synopsis
#include <ProCurve.h>
ProErrorProCurvePersistentLinestyleSet(
ProSolid p_solid
/* (In)
The solid owner of the curve
*/
ProCurve p_curve
/* (In)
The curve handle
*/
ProLinestyle new_linestyle
/* (In)
The new linestyle 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

Sample Code References:

  1. pt_examples ( TestGraphics.c )