Category Drawings and detail, Object ProDrawing

Function ProDrawingDimensionPosGet


Description
Note: The coordinates returned by this function are offset from the coordinates needed by ProDrawingDimensionMove(). Use ProDimlocationTextGet() instead Gets dimension position in drawing (the center of the text box ).
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingDimensionPosGet(
ProDrawing drawing
/* (In)
The drawing in which the dimension is displayed.
*/
ProDimension* dimension
/* (In)
The dimension.
*/
ProVector location
/* (Out)
3D vector representing the dimension position
*/
)
Returns
PRO_TK_BAD_INPUTSone or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORfailed to get dimension text coordinate.
PRO_TK_NO_ERRORthe location is found.

Manual References:

  1. Drawings: Other Drawing Dimension Properties
  2. Drawings: Other Drawing Dimension Properties

Sample Code References:

  1. pt_examples ( TestDimension.c )