Category 3D drawings and annotations, Object ProDimension

Function ProDimensionSimpleBreakCreate


Description
Create a simple break in an existing dimension witness line.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProDimension.h>
ProErrorProDimensionSimpleBreakCreate(
ProDimension* dimension
/* (In)
The dimension whose witness line is being broken.
*/
ProDrawing drawing
/* (In)
The drawing in which the dimension is shown. May be NULL.
*/
int index
/* (In)
For a non-ordinate, non-radius dimension, the witness line index is 1 or 2 otherwise this is not used.
*/
Pro3dPnt break_start
/* (In)
The starting point of the break.
*/
Pro3dPnt break_end
/* (In)
The ending point of the break.
*/
)
Returns
PRO_TK_NO_ERRORThe dimension witness line break 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.
PRO_TK_INVALID_TYPEThe dimension can't have a witness line break.
PRO_TK_ABORTThe dimension witness line couldn't be broken.

Manual References:

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