Category Features, Object ProFeature

Function ProFeatureInsertmodeWithoptionsActivate


Description
Activates insert mode such that the specified feature becomes the last feature.
Synopsis
#include <ProFeature.h>
ProErrorProFeatureInsertmodeWithoptionsActivate(
ProFeature* p_last_feat
/* (In)
The feature that will be the last feature. All the features after this feature will be detached. Any features created after the activation of insert mode will be created after this feature. When you cancel the insert mode, the detached features will be reappended at the end.
*/
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 activated insert mode.
PRO_TK_BAD_INPUTSThe specified feature is invalid.
PRO_TK_BAD_CONTEXTInvalid regeneration flag(s) for this function.
See Also
ProInsertModeIsActive
ProInsertModeCancel

Manual References:

  1. Core: Features: Manipulating Features based on Regeneration Flags

Sample Code References:

  1. pt_examples ( TestFeats.c )