Category Solids and parts, Object ProSolid

Function ProSolidFeatstatusWithoptionsSet


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>
ProErrorProSolidFeatstatusWithoptionsSet(
ProSolid solid
/* (In)
The solid.
*/
int* feat_id_array
/* (In)
A ProArray of features.
*/
int* status_array
/* (In)
A ProArray of feature statuses in the form of bit mask statuses like PRO_FEAT_STAT_*. If this is NULL, the statuses are not changed.
*/
int flags
/* (In)
The regeneration control flags. Pass as bitmask containing one or more of the bit flags PRO_REGEN* defined in ProSolid.h
*/
)
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.
See Also
ProArrayAlloc
ProArrayObjectAdd
ProArrayFree

Manual References:

  1. Core: Solids, Parts, and Materials: Contents of a Solid
  2. Core: Solids, Parts, and Materials: Contents of a Solid