Interface ICamIpcHandlerApplicationMachineCLDataRequested
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 an external application: 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 GetTimeOut for long enough - the calculation is blocked until the handler returns or the timeout expires, and on timeout the toolpath keeps only what was appended by then. The operation comes as an identifier, not an object: find it through the technologist of the active project when its parameters are needed.
Namespace: CAMIPC.MCDFormerTypes
Assembly: CAMIPC.MCDFormerTypes.dll
Syntax
[Guid("4B8D61CA-97F2-4E35-B0A6-5D1E8C4F2739")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamIpcHandlerApplicationMachineCLDataRequested
Methods
MachineCLDataRequested(string, ICamIpcMachineCLDReceiver, string)
Fill the machine toolpath of the operation with the given identifier.
Declaration
void MachineCLDataRequested(string HandlerIdent, ICamIpcMachineCLDReceiver Receiver, string OperationId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | HandlerIdent | |
| ICamIpcMachineCLDReceiver | Receiver | |
| string | OperationId |