MKI_InputFinishProc (Callback)

www.CAD6.com

C++ Syntax

void

MKI_InputFinishProc(

 __int32 f_nCommandID,

 __int32 f_nPointCount );

 

typedef void

(*MKI_INPUTFINISH_PROC)(

 __int32 f_nCommandID,

 __int32 f_nPointCount );

 

This procedure is called during the execution of an external command, i.e. a command that is handled by a plug-in.

 

Parameters

CommandID

[__int32] Identifier of the current command. Valid range: 0 <= Value < MKI_PLUGIN_MENU_MAX.

PointCount

[__int32] Number of points entered before the command was ended. Valid range: 0 <= Value < MKI_INPUT_MAX.

 

Comment

This procedure is called if either all required points have been entered, or if MKI_InputPointInitProc or MKI_InputPointExitProc returned MKI_INPUT_FINISH, or if the command does not require any point entry at all. At this time, the plug-in should perform all tasks to finish the command execution, like e.g. creating new objects or modifying existing object.

 

The name MKI_InputFinishProc is only a placeholder, the procedure may have any name.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH