Class WorkpieceCoordinateSystemHelper
Inheritance
WorkpieceCoordinateSystemHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class WorkpieceCoordinateSystemHelper
Methods
CoordinateSystemName(ComWrapper<ICamApiWorkpieceCoordinateSystem>)
Name of existing coordinate system from ICamApiProject.CoordinateSystems
Declaration
public static string CoordinateSystemName(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom)
Parameters
Returns
ID(ComWrapper<ICamApiWorkpieceCoordinateSystem>)
Value, like 54, 54.1, 54.2, 55, 56, 57, 58 or 59 (without G) to be provided into G-code
Declaration
public static string ID(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom)
Parameters
Returns
Mode(ComWrapper<ICamApiWorkpieceCoordinateSystem>)
Get name of coordinate system (you can use 'global', 'off', 'previous', 'offset' or 'name')
Declaration
public static TCamApiWorkpieceCoordinateSystemMode Mode(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom)
Parameters
Returns
Offset(ComWrapper<ICamApiWorkpieceCoordinateSystem>)
Get offset of global coordinate system (available only if Name is 'offset')
Declaration
public static TST3DPoint Offset(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom)
Parameters
Returns
SetCoordinateSystemName(ComWrapper<ICamApiWorkpieceCoordinateSystem>, string)
Declaration
public static void SetCoordinateSystemName(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom, string name)
Parameters
SetID(ComWrapper<ICamApiWorkpieceCoordinateSystem>, string)
Declaration
public static void SetID(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom, string id)
Parameters
SetMode(ComWrapper<ICamApiWorkpieceCoordinateSystem>, TCamApiWorkpieceCoordinateSystemMode)
Declaration
public static void SetMode(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom, TCamApiWorkpieceCoordinateSystemMode mode)
Parameters
SetOffset(ComWrapper<ICamApiWorkpieceCoordinateSystem>, TST3DPoint)
Declaration
public static void SetOffset(this ComWrapper<ICamApiWorkpieceCoordinateSystem> wcsCom, TST3DPoint offset)
Parameters