Category 3D drawings and annotations, Object ProDimension

Function ProDimensionValueGet


Description
Retrieves the value of a specified dimension.
Replacement in Object TOOLKIT: pfcBaseParameter::Value
pfcBaseDimension::DimValue
Synopsis
#include <ProDimension.h>
ProErrorProDimensionValueGet(
ProDimension* dimension
/* (In)
The dimension handle.
*/
double* value
/* (Out)
The value of the dimension. If the model is fully regenerated, this value is always positive. Use ProDimensionIsRegenednegative() to see if the dimension is flipped direction compared to the default for the feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the value.
PRO_TK_GENERAL_ERRORThe data structure was not set.
See Also
ProDimensionIsRegenednegative
ProDimensionValueSet

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  3. Annotations: Annotation Features and Annotations: Visiting Dimensions
  4. Annotations: Annotation Features and Annotations: Visiting Dimensions

Sample Code References:

  1. pt_examples ( TestAnalysisCsys.c )
  2. pt_examples ( TestAnalysisCurve.c )
  3. pt_examples ( TestAnalysisSrfCurve.c )
  4. pt_examples ( TestAnalysisSrfCurve.c )
  5. pt_examples ( TestDimension.c )
  6. pt_examples ( TestDimension.c )
  7. pt_examples ( TestCollect.c )
  8. pt_geardesign ( GearDesign.c )
  9. pt_geardesign ( GearDesign.c )
  10. pt_userguide ( UgDimsChange.c )
  11. pt_userguide ( UgExtAnalysisSurfcsys.c )
  12. pt_userguide ( UgFamtabUse.c )
  13. pt_userguide ( UgSmtFlatWallCreate.c )
  14. pt_userguide ( UgSmtFlatWallCreate.c )
  15. pt_userguide ( UgSmtFlgWallCreate.c )
  16. pt_userguide ( UgSmtFlgWallCreate.c )
  17. pt_userguide ( UgUISlider.c )