Function ProSolidFeatstatusSet
Description
Assigns the feature order and status of the specified solid based on the input (PRO_FEAT_ACTIVE, PRO_FEAT_SUPPRESSED, or PRO_FEAT_PROG_SUPPRESSED).
NOTES:
You can change the status of active or user-suppressed features only.
Upon assignment of the order and status, the system regenerates the model. If it fails, the model is restored to its original state.
Synopsis
#include <ProSolid.h>
ProSolidFeatstatusSet
(
ProSolid solid
/* (In)
The solid.
*/
int* feat_id_array
/* (In)
An array of features.
*/
ProFeatStatus* status_array
/* (In)
An array of feature statuses. If this is NULL, the statuses are not changed.
*/
int num_features
/* (In)
The size of the above arrays.
*/
ProBoolean can_fix
/* (In)
If regeneration fails, invoke the Fix Model user interface.
*/
)
Returns
The function successfully assigned the feature order and statuses.
Model is in read-only state.
One or more of the arguments are invalid.
There were regeneration errors. The p_errors argument supplies a detailed description of the errors.
User Guide References
これは役に立ちましたか?