Category Solids and parts, Object ProSolid

Function ProSolidAccuracySet


Description
Sets either the relative or absolute accuracy of a part or an assembly.

NOTE:

This function does not regenerate the solid. You must perform this action separately.

Synopsis
#include <ProSolid.h>
ProErrorProSolidAccuracySet(
ProSolid solid
/* (In)
The solid whose accuracy is to be changed.
*/
ProAccuracyType type
/* (In)
The relative or absolute accuracy.
*/
double accuracy
/* (In)
If you are setting the relative accuracy, this number has no dimension because the accuracy will be scaled by the part size. If you are setting absolute accuracy, the number is based on the solid units.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the accuracy of the solid.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: 3D Geometry: Geometry at Points
  3. Core: Solids, Parts, and Materials: Solid Accuracy
  4. Core: Solids, Parts, and Materials: Solid Accuracy

Sample Code References:

  1. pt_examples ( TestSolid.c )