Documentação da API > Miscellaneous > Object ProInsertmode > Function ProInsertmodeWithoptionsCancel
Function ProInsertmodeWithoptionsCancel
Description
Cancels insert mode in the specified part or assembly.
Synopsis
#include <ProFeature.h>
ProInsertmodeWithoptionsCancel
(
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
The function successfully cancelled insert mode.
Model is in read-only state.
The specified feature is invalid.
Invalid regeneration flag(s) for this function.
See Also
Sample Code References
User Guide References
Isto foi útil?