Category Drawings and detail, Object ProDtlentitydata

Function ProDtlentitydataCurveSet


Description
Sets the curve data structure of the specified draft entity. The curve geometry is specified using screen coordinates.

Note: When creating a "circle" detail entity, use an arc with a start angle of 0 and an end angle of 2*PI. Creo Parametric represents circle detail entities with the ProArcdata structure.

Replacement in Object TOOLKIT: pfcDetailEntityInstructions::Geometry
pfcDetailEntityInstructions::Create
Synopsis
#include <ProDtlentity.h>
ProErrorProDtlentitydataCurveSet(
ProDtlentitydata entdata
/* (In)
The draft entity data.
*/
ProCurvedata* curve
/* (In)
The curve data structure.
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSInvalid input argument(s).

Manual References:

  1. Drawings: Creating, Modifying and Reading Detail Items
  2. Drawings: Draft Entity Data
  3. Drawings: Draft Entity Data

Sample Code References:

  1. pt_examples ( TestDtlentity.c )
  2. pt_userguide ( UgDtlentityExamples.c )
  3. pt_userguide ( UgDtlsymdefExamples.c )