Category 3D drawings and annotations, Object ProSurffinish

Function ProSurffinishValueGet


Description
Retrieve the value of a surface finish annotation. If getting the value of a surface finish based on a symbol, this gets the value of the variable text "roughness_height". Retrieve other values using ProSurffinishDataGet().
Synopsis
#include <ProSurfFinish.h>
ProErrorProSurffinishValueGet(
ProSurfFinish* surface_finish
/* (In)
The surface finish item.
*/
double* value
/* (Out)
The value of the surface finish.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.
PRO_TK_NO_LICENSELicense check failure.
PRO_TK_BAD_CONTEXTThe surface finish does not have a value named 'roughness_height' (for symbol based surface finishes).
PRO_TK_INVALID_TYPEThe surface finish roughness height is not a numeric value.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Annotations: Annotation Features and Annotations: Surface Finish Annotations
  3. Annotations: Annotation Features and Annotations: Surface Finish Annotations