KMotion_dotNet.KM_CoordMotion.DoKMotionBufCmd C# (CSharp) Method

DoKMotionBufCmd() public method

Inserts a console script command in the buffer
public DoKMotionBufCmd ( string command ) : void
command string command
return void
        public void DoKMotionBufCmd(string command)
        {
            try
            {
                var returnvalue = KM_dotnet_Interop_CoordMotion_DoKMotionBufCmd(_InstanceHandle, command);
                //process return value
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "DoKMotionBufCmd"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "DoKMotionBufCmd"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "DoKMotionBufCmd"));
            }
        }
KM_CoordMotion