Class TechOperationHelper
Inheritance
TechOperationHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class TechOperationHelper
Methods
ApplyApproachRuleAsCustom(ComWrapper<ICamIpcTechOperation>)
Persist the operation's current live approach command list as its Custom approach.
Declaration
public static void ApplyApproachRuleAsCustom(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
ApplyReturnRuleAsCustom(ComWrapper<ICamIpcTechOperation>)
Persist the operation's current live return command list as its Custom return.
Declaration
public static void ApplyReturnRuleAsCustom(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
ChannelIndex(ComWrapper<ICamIpcTechOperation>)
Zero-based index of the simulator channel this operation is assigned to.
Always 0 on single-channel machines.
Declaration
public static int ChannelIndex(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
GetApproachIsCustom(ComWrapper<ICamIpcTechOperation>)
Whether the operation's current approach is a Custom rule.
Declaration
public static bool GetApproachIsCustom(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
GetApproachRule(ComWrapper<ICamIpcTechOperation>)
Declaration
public static ComWrapper<ICamIpcApproachReturnRule> GetApproachRule(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
GetNeedDeleteChips(ComWrapper<ICamIpcTechOperation>)
Whether chips need to be deleted before this operation
Declaration
public static bool GetNeedDeleteChips(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
GetReturnIsCustom(ComWrapper<ICamIpcTechOperation>)
Whether the operation's current return is a Custom rule.
Declaration
public static bool GetReturnIsCustom(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
GetReturnRule(ComWrapper<ICamIpcTechOperation>)
Declaration
public static ComWrapper<ICamIpcApproachReturnRule> GetReturnRule(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
GetUserParameters(ComWrapper<ICamIpcTechOperation>)
User-defined parameters of the operation (name/value/comment triples used
in header/tail templates).
Declaration
public static ComWrapper<ICamIpcUserParametersList> GetUserParameters(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
Id(ComWrapper<ICamIpcTechOperation>)
Unique identifier of the operation
Declaration
public static string Id(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
InitMachineEvaluator(ComWrapper<ICamIpcTechOperation>, ComWrapper<ICamIpcMachineEvaluator>)
Initialize machine evaluator to the state of this operation - its axes, flips, robot mode,
setup coordinate system and external axes. Call it before solving with CalcNextPos5D,
otherwise the solver runs with default flips and a disabled positioner.
Declaration
public static void InitMachineEvaluator(this ComWrapper<ICamIpcTechOperation> operationCom, ComWrapper<ICamIpcMachineEvaluator> evalCom)
Parameters
MachineConfiguration(ComWrapper<ICamIpcTechOperation>)
Machine configuration for the operation.
Declaration
public static ComWrapper<ICamIpcMachineConfiguration> MachineConfiguration(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
McdTree(ComWrapper<ICamIpcTechOperation>)
Primary MCD tree of the operation. Returns a wrapper around nil
(check IsNull) when the operation is not calculated or is a group.
Declaration
public static ComWrapper<ICamIpcMcdTree> McdTree(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
Model former for job assignment of the operation
Declaration
public static ComWrapper<ICamIpcModelFormer> ModelFormerJobAssignment(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns
RecoveryMcdTree(ComWrapper<ICamIpcTechOperation>)
Recovery MCD tree of the operation (post-processed NC re-interpretation).
Returns a wrapper around nil when the recovery toolpath is not available.
Declaration
public static ComWrapper<ICamIpcMcdTree> RecoveryMcdTree(this ComWrapper<ICamIpcTechOperation> operationCom)
Parameters
Returns