Category Drawings and detail, Object ProDrawing

Function ProDrawingDimensionViewGet


Description
Reports which drawing view a dimension is displayed in. Applies to dimensions stored in the solid or in the drawing.
Replacement in Object TOOLKIT: pfcModel2D::GetViewDisplaying
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingDimensionViewGet(
ProDrawing drawing
/* (In)
The drawing in which the dimension is displayed.
*/
ProDimension* dimension
/* (In)
The dimension.
*/
ProView* view
/* (Out)
The drawing view in which the dimension is displayed.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the view displaying the drawing.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_NOT_DISPLAYEDThe dimension is not displayed in the drawing.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Drawings: Other Drawing Dimension Properties
  3. Drawings: Other Drawing Dimension Properties

Sample Code References:

  1. pt_examples ( TestDimension.c )
  2. pt_examples ( TestDimension.c )