Category 3D drawings and annotations, Object ProDimension

Function ProDimensionWitnesslineErase


Description
Erase the witnessline of the input dimension given its side. This API should work in 2D and 3D modes for dimension and reference dimension.
Synopsis
#include <ProDimension.h>
ProErrorProDimensionWitnesslineErase(
ProDimension* dimension
/* (In)
The dimension whose witnessline is to be erased, always non NULL.
*/
ProDrawing drawing
/* (In)
The drawing in which dimension is displayed, can be NULL if witness line is to be erased in a solid.
*/
int WitnesslineIndex
/* (In)
Witnessline side, can be 1 or 2 only.
*/
)
Returns
PRO_TK_NO_ERRORThe dimension witnessline is erased.
PRO_TK_BAD_INPUTSThe dimension object or witnessline index is not valid.
PRO_TK_NO_CHANGEThe dimension witnessline could not be erased.

Manual References:

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