Class McdChannelHelper
Inheritance
McdChannelHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class McdChannelHelper
Methods
CurrentMcdNode(ComWrapper<ICamIpcMcdChannel>)
MCD node currently being processed by the simulator in this channel.
Declaration
public static ComWrapper<ICamIpcMcdNode> CurrentMcdNode(this ComWrapper<ICamIpcMcdChannel> channelCom)
Parameters
Returns
CurrentOperation(ComWrapper<ICamIpcMcdChannel>)
Operation currently being processed by the simulator in this channel.
Declaration
public static ComWrapper<ICamIpcTechOperation> CurrentOperation(this ComWrapper<ICamIpcMcdChannel> channelCom)
Parameters
Returns
Index(ComWrapper<ICamIpcMcdChannel>)
Zero-based index of the channel in the simulator.
Declaration
public static int Index(this ComWrapper<ICamIpcMcdChannel> channelCom)
Parameters
Returns
MachineEvaluator(ComWrapper<ICamIpcMcdChannel>)
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 AbsoluteMatrix() and in the world coordinate
system (WCS) via CurrentWorkpieceCSWorldMatrix(). Reflects the last
simulated frame — read it on a paused or stepped cursor.
Declaration
public static ComWrapper<ICamIpcMachineEvaluator> MachineEvaluator(this ComWrapper<ICamIpcMcdChannel> channelCom)
Parameters
Returns
SetCurrentMcdNode(ComWrapper<ICamIpcMcdChannel>, ICamIpcMcdNode)
Move the simulation cursor in this channel to the given node and redraw the scene.
Declaration
public static void SetCurrentMcdNode(this ComWrapper<ICamIpcMcdChannel> channelCom, ICamIpcMcdNode node)
Parameters
SetCurrentOperation(ComWrapper<ICamIpcMcdChannel>, ICamIpcTechOperation)
Activate the given operation in this channel (the simulator redraws the scene).
Declaration
public static void SetCurrentOperation(this ComWrapper<ICamIpcMcdChannel> channelCom, ICamIpcTechOperation operation)
Parameters