MKI_INPUTFINISH_PROC (Callback)

www.CAD6.com

C++ Syntax

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_INPUTPOINTINIT_PROC or MKI_INPUTPOINTEXIT_PROC 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.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH