Category 3D drawings and annotations, Object ProDimension

Function ProDimensionArrowtypeSet


Description
Set the type of one of a dimension's arrows.
Synopsis
#include <ProDimension.h>
ProErrorProDimensionArrowtypeSet(
ProDimension* dimension
/* (In)
The dimension for which we wish to set an arrow type.
*/
ProDrawing drawing
/* (In)
A drawing in which the dimension is shown, in which to set the arrow type. May be NULL to set the arrow type in the dimension's owner model.
*/
int arrow_index
/* (In)
Either 1 or 2. For ordinate and radius dimensions, this value is ignored. For diameter dimensions, this determines which of the two arrows to change. For other dimensions, a value of 1 indicates the arrow on the first witness line, and a value of 2 indicates the arrow on the second.
*/
ProLeaderType arrow_type
/* (In)
The type to which the arrow is set.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_E_NOT_FOUNDThe dimension does not exist.
PRO_TK_INVALID_PTRThe dimension owner is invalid.
PRO_TK_CANT_MODIFYThe dimension cannot be modified.

Manual References:

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