CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiMcdChannel

    Execution channel of the simulator. A channel groups operations that run on the same kinematic stream (e.g. one turret of a multi-turret machine). On single-channel machines there is exactly one channel with Index = 0 holding every operation in the project.

    Namespace: CAMAPI.Simulator
    Assembly: CAMAPI.Simulator.dll
    Syntax
    [Guid("81431142-D7AB-4082-A9E7-F62F5D339D73")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiMcdChannel

    Properties

    CurrentMcdNode

    MCD node currently being processed by the simulator in this channel. Setting it moves the simulation cursor to the given node and redraws the scene.

    Declaration
    ICamApiMcdNode CurrentMcdNode { get; set; }
    Property Value
    Type Description
    ICamApiMcdNode

    CurrentOperation

    Operation currently being processed by the simulator in this channel. Setting it activates the given operation (the simulator redraws the scene).

    Declaration
    ICamApiTechOperation CurrentOperation { get; set; }
    Property Value
    Type Description
    ICamApiTechOperation

    Index

    Zero-based index of the channel in the simulator.

    Declaration
    int Index { get; }
    Property Value
    Type Description
    int

    MachineEvaluator

    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 state of the last simulated frame — read it on a paused or stepped cursor, not while simulation is actively running. Note: the mutating methods of the evaluator (SetNextPos, CalcNextPos*, TCPMEnabled) act on the live simulation machine state; use with care.

    Declaration
    ICamApiMachineEvaluator MachineEvaluator { get; }
    Property Value
    Type Description
    ICamApiMachineEvaluator
    In this article