Documentación de la API > Solids and parts > Object ProSolid > Function ProSolidFeatstatusWithoptionsSet
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>
ProSolidFeatstatusWithoptionsSet
(
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
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.
See Also
User Guide References
¿Fue esto útil?