Class McdChannelHelper
Inheritance
McdChannelHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class McdChannelHelper
Methods
CurrentMcdNode(ComWrapper<ICamApiMcdChannel>)
MCD node currently being processed by the simulator in this channel.
Declaration
public static ComWrapper<ICamApiMcdNode> CurrentMcdNode(this ComWrapper<ICamApiMcdChannel> channelCom)
Parameters
Returns
CurrentOperation(ComWrapper<ICamApiMcdChannel>)
Operation currently being processed by the simulator in this channel.
Declaration
public static ComWrapper<ICamApiTechOperation> CurrentOperation(this ComWrapper<ICamApiMcdChannel> channelCom)
Parameters
Returns
Index(ComWrapper<ICamApiMcdChannel>)
Zero-based index of the channel in the simulator.
Declaration
public static int Index(this ComWrapper<ICamApiMcdChannel> channelCom)
Parameters
Returns
MachineEvaluator(ComWrapper<ICamApiMcdChannel>)
Live machine evaluator at the current simulation cursor of this channel.
Read the current tool control-point position in the workpiece (geometric)
coordinate system via GetAbsoluteMatrix() and in the world coordinate
system (WCS) via GetCurrentWorkpieceCSWorldMatrix(). Reflects the last
simulated frame — read it on a paused or stepped cursor.
Declaration
public static ComWrapper<ICamApiMachineEvaluator> MachineEvaluator(this ComWrapper<ICamApiMcdChannel> channelCom)
Parameters
Returns
SetCurrentMcdNode(ComWrapper<ICamApiMcdChannel>, ICamApiMcdNode)
Move the simulation cursor in this channel to the given node.
Declaration
public static void SetCurrentMcdNode(this ComWrapper<ICamApiMcdChannel> channelCom, ICamApiMcdNode node)
Parameters
SetCurrentOperation(ComWrapper<ICamApiMcdChannel>, ICamApiTechOperation)
Activate the given operation in this channel.
Declaration
public static void SetCurrentOperation(this ComWrapper<ICamApiMcdChannel> channelCom, ICamApiTechOperation operation)
Parameters