Category Solids and parts, Object ProSolid

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>
ProErrorProSolidFeatstatusSet(
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
PRO_TK_NO_ERRORThe function successfully assigned the feature order and statuses.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORThere were regeneration errors. The p_errors argument supplies a detailed description of the errors.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Solids, Parts, and Materials: Contents of a Solid
  3. Core: Solids, Parts, and Materials: Contents of a Solid