API 文件集 > Features > Object ProFeature > Function ProFeatureSuppress
Function ProFeatureSuppress
DEPRECATED:
Since Wildfire 5.0
Description
Suppresses the specified features in the solid.
NOTE:
This function is deprecated. Use ProFeatureWithoptionsSuppress() with flags equal to PRO_REGEN_NO_FLAGS for equivalent behavior.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFeature.h>
ProFeatureSuppress
(
ProSolid solid
/* (In)
The part or assembly to which the features belong
*/
int* feat_ids
/* (In)
The array of feature identifiers to be suppressed
*/
int feat_count
/* (In)
The size of the feat_ids array
*/
/* (In)
The array of options for suppressing features
*/
int num_opts
/* (In)
The size of the suppress_opts array
*/
)
Returns
The function successfully suppressed the features.
Model is in read-only state.
One or more of the arguments are invalid.
One or more input features is not permitted to be suppressed.
The suppress operation failed.
這是否有幫助?