KMotion_dotNet.KM_CoordMotion.UpdateCurrentPositionsABS C# (CSharp) Method

UpdateCurrentPositionsABS() public method

Sets the passed variables to the CoordMotion's Absolute positions
public UpdateCurrentPositionsABS ( double &x, double &y, double &z, double &a, double &b, double &c, bool snap ) : void
x double X axis value
y double Y axis value
z double Z axis value
a double A axis value
b double B axis value
c double C axis value
snap bool snap to exact previously commanded postion (if close) to avoid rounding errors
return void
        public void UpdateCurrentPositionsABS(ref double x, ref double y, ref double z, ref double a, ref double b, ref double c, bool snap)
        {
            try
            {
                var returnvalue = KM_dotnet_Interop_CoordMotion_ReadCurAbsPosition(_InstanceHandle, ref  x, ref  y, ref  z, ref  a, ref  b, ref  c, snap);
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "UpdateCurrentPositionsABS"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "UpdateCurrentPositionsABS"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "UpdateCurrentPositionsABS"));
            }
        }
        /// <summary>
KM_CoordMotion