API Documentation > Dimensions > Object ProDimension > Function ProDimensionWitnesslineErase
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.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDimension.h>
ProDimensionWitnesslineErase
(
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
The dimension witnessline is erased.
Model is in read-only state.
The dimension object or witnessline index is not valid.
The dimension witnessline could not be erased.
User Guide References
Was this helpful?