Category Sketches and sections, Object ProSection

Function ProSectionEntityTranslate


Description
Translates the entity by the specified vector.
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityTranslate(
ProSection section
/* (In)
The section
*/
int ent_id
/* (In)
The identifier of the entity in the section
*/
ProVector translation_vector
/* (In)
The translation vector
*/
)
Returns
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_NO_ERRORThe function successfully translated the entity.
PRO_TK_UNSUPPORTEDThe function does not support entity type PRO_2D_COMPOSITE_CURVE.

Sample Code References:

  1. pt_examples ( UtilSect.c )
  2. pt_examples ( UtilSect.c )