Category Dimensions, Object ProDimlocation

Function ProDimlocationCenterleadertypeGet


Description
Obtains the type of center leader used for the dimension, if this dimension uses a center leader.
Synopsis
#include <ProDimension.h>
ProErrorProDimlocationCenterleadertypeGet(
ProDimlocation data
/* (In)
The dimension location data, extracted from ProDimensionLocationGet()
*/
ProDimCenterLeaderType* center_leader_type
/* (Out)
The type of center leader used for the dimension.
*/
ProLeaderType* leader_type
/* (Out)
The leader end symbol.
*/
double* elbow_length
/* (Out)
The length of the elbow. If the type is "Parallel above" or "Parallel below" this value should be ignored.
*/
ProVector elbow_direction
/* (Out)
The direction of the elbow, from the dimension text to the dimension leader. If the type is "Parallel above" or "Parallel below", this should be ignored.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDThis dimension does not use a center leader type of construction.

Manual References:

  1. Annotations: Annotation Features and Annotations: Dimension Location
  2. Annotations: Annotation Features and Annotations: Dimension Location