Category 3D drawings and annotations, Object ProDimension

Function ProDimensionJogCreate


Description
Create a witness line jog in an existing dimension witness line.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDimension.h>
ProErrorProDimensionJogCreate(
ProDimension* dimension
/* (In)
The dimension whose witness line is being jogged.
*/
ProDrawing drawing
/* (In)
The drawing in which the dimension is shown. May be NULL.
*/
int index
/* (In)
For a non-ordinate dimension, the witness line index : 1 or 2. For an ordinate dimension, this is not used.
*/
Pro3dPnt* jog_points
/* (In)
A ProArray of jog points. There must be at least two points if the witness line does not yet have any jogs. Angular and arc length dimension may not have more than two jog points per witness line.
*/
)
Returns
PRO_TK_NO_ERRORThe dimension witness line jog was created.
PRO_TK_BAD_INPUTSThe dimension object or cosmetic model is not valid.
PRO_TK_CANT_MODIFYThe object or cosmetic model can't be modified.
PRO_TK_INVALID_ITEMThe dimension is not valid for this operation.
PRO_TK_INVALID_TYPEThe dimension can't have a witness line jog.
PRO_TK_ABORTThe dimension witness line couldn't be jogged.

Manual References:

  1. Annotations: Annotation Features and Annotations: Modifying Dimensions
  2. Annotations: Annotation Features and Annotations: Modifying Dimensions