API 文件集 > Solids and parts > Object ProSolid > Function ProSolidToleranceSet
Function ProSolidToleranceSet
Description
Sets the solid's tolerance, at the specified number of decimal places, to the specified value.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSolid.h>
ProSolidToleranceSet
(
ProSolid solid
/* (In)
The solid handle.
*/
/* (In)
The tolerance type.
*/
int n_decimals
/* (In)
The number of decimal places used to identify the tolerance.
*/
double tolerance
/* (In)
The tolerance, at the specified number of decimal places.
*/
)
Returns
The function successfully set the tolerance.
Model is in read-only state.
The solid handle is invalid.
A general error occurred and the function failed.
Sample Code References
User Guide References
這是否有幫助?