_Pause do not work in my plugin command


    CRhinoGetObject go;
	go.SetCommandPrompt(L"Select Objs");
	go.GetObjects(1, 0);
	rc = go.CommandResult();
	if (rc != CRhinoCommand::success)
		return go.CommandResult();
    for (int i = 0; i < go.ObjectCount(); i++)

My english command name is MyCmd, when I run it in macro, it is not stop in comand _pause to wait input, For example, _MyCmd _pause _Move, Is there any way to solve this problem?

Hi @suc_kiet,

Using the attached sample command, I can run this macro:

_TestSucKiet _Pause _Move 0 5,5,0

cmdTestSucKiet.cpp (1.5 KB)

Does this help?

– Dale

Hi @dale ;
Thank you, It’s my fault :grinning: