CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiHandlerApplicationMachineCLDataRequested

    Handler for the event fired while an operation that makes machine CLData is being calculated. The handler is given the live receiver of that operation and is expected to append the frames and commands of the toolpath into it before returning. This is what makes the receiver reachable from outside the process: over IPC the event is delivered synchronously, so CAM waits for the handler and the frames it appends land in the toolpath of that very calculation. Ask for a timeout long enough for the work - the calculation is blocked until the handler returns or the timeout expires. The operation is passed by its identifier rather than as an object, so that this library keeps no dependency on the tech-operation one. Find it through the technologist of the active project.

    Namespace: CAMAPI.MCDFormerTypes
    Assembly: CAMAPI.MCDFormerTypes.dll
    Syntax
    [Guid("9C1F0D5E-6B3A-4D82-A4E7-2F5C8B0D71A4")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiHandlerApplicationMachineCLDataRequested

    Methods

    MachineCLDataRequested(string, ICamApiMachineCLDReceiver, string)

    Fill the machine toolpath of the operation with the given identifier.

    Declaration
    void MachineCLDataRequested(string HandlerIdent, ICamApiMachineCLDReceiver Receiver, string OperationId)
    Parameters
    Type Name Description
    string HandlerIdent
    ICamApiMachineCLDReceiver Receiver
    string OperationId
    In this article