Object ProInsertmode

Function ProInsertmodeWithoptionsCancel


Description
Cancels insert mode in the specified part or assembly.
Synopsis
#include <ProFeature.h>
ProErrorProInsertmodeWithoptionsCancel(
ProSolid solid
/* (In)
The part or assembly.
*/
ProBoolean resume
/* (In)
Set this to PRO_B_TRUE if the suppressed features are to be resumed once you cancel insert mode.
*/
int flags
/* (In)
The regeneration control flags.Bitmask containing one or more of the bit flags PRO_REGEN_* defined in ProSolid.h. PRO_REGEN_UNDO_IF_FAIL and PRO_REGEN_ALLOW_CONFIRM are not supported.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully cancelled insert mode.
PRO_TK_BAD_INPUTSThe specified feature is invalid.
PRO_TK_BAD_CONTEXTInvalid regeneration flag(s) for this function.
See Also
ProFeatureInsertmodeWithoptionsActivate
ProInsertModeIsActive

Manual References:

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

Sample Code References:

  1. pt_examples ( TestFeats.c )