found the fix for the sdk function.... seems it's a thing with editable mesh interface i.e. when it's being edited so you have to enclose your code with.... MeshDeltaUser* mdu = (owner) ? GetMeshDeltaUserInterface(owner) : NULL; if (mdu && mdu->Editing()) mdu->ExitCommandModes(); ...... if(mdu)…