Interface ICamApiTechOperation
Assembly: CAMAPI.TechOperation.dll
Syntax
[Guid("C0384D7A-9E7C-4867-87AA-42642AF3186C")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiTechOperation
Properties
ApproachRule
Approach move before operation start
Declaration
string ApproachRule { get; set; }
Property Value
Calculated
The operation toolpath is calculated
Declaration
Property Value
Enabled
The operation is blocked for calculation or not
Declaration
Property Value
FullName
Slash divided full name of technology operation including parent groups
Declaration
Property Value
Id
Get unique identifier of technology operation
Declaration
Property Value
IsCollisionError
Error - the nodes of the machine are in collision
Declaration
bool IsCollisionError { get; }
Property Value
IsCompensationError
Error - the compensation value is too large
Declaration
bool IsCompensationError { get; }
Property Value
IsError
Error in calculating toolpath or simulation
Declaration
Property Value
IsGougeError
Error - the part is gouged
Declaration
bool IsGougeError { get; }
Property Value
IsGroup
Returns true if the operation is any kind of groups and can have child operations
Declaration
Property Value
IsHolderError
Error - the contact with the workpiece is on the holder
Declaration
bool IsHolderError { get; }
Property Value
IsMachiningResultCalculated
The machining result is calculated for this operation
Declaration
bool IsMachiningResultCalculated { get; }
Property Value
IsPlungeError
Error - the tool is plunged at too large an angle
Declaration
bool IsPlungeError { get; }
Property Value
IsRapidError
Error - the contact with the workpiece is on the rapid feed
Declaration
bool IsRapidError { get; }
Property Value
Error - the tool is overloaded
Declaration
bool IsToolOverloadError { get; }
Property Value
IsTravelError
Error - the axis is moved out of the limits
Declaration
bool IsTravelError { get; }
Property Value
IsTurnDirectionError
Error - the tool turn direction is incorrect
Declaration
bool IsTurnDirectionError { get; }
Property Value
LCS
Local coordinate system for current operation
Declaration
Property Value
Machine
Declaration
ICamApiMachine Machine { get; }
Property Value
MachineConfiguration
Machine configuration for the operation
Declaration
ICamApiMachineConfiguration MachineConfiguration { get; }
Property Value
Object to manage model formers of fixture
Declaration
ICamApiModelFormer ModelFormerFixtures { get; }
Property Value
Object to manage model formers of job assignment
Declaration
ICamApiModelFormer ModelFormerJobAssignment { get; }
Property Value
Object to manage model formers of part
Declaration
ICamApiModelFormer ModelFormerPart { get; }
Property Value
Object to manage model formers of restrictions
Declaration
ICamApiModelFormer ModelFormerRestrictions { get; }
Property Value
Object to manage model formers of workpiece
Declaration
ICamApiModelFormer ModelFormerWorkpiece { get; }
Property Value
Name
Get name of technology operation
Declaration
string Name { get; set; }
Property Value
NeedDeleteChips
Whether chips need to be deleted before this operation
Declaration
bool NeedDeleteChips { get; }
Property Value
OperationTag
Invisible textual Tag of operation. Empty by default. You (external code developer) can use it
for your own purpose.
Declaration
string OperationTag { get; set; }
Property Value
OperationType
Type identifier of the technology operation
Declaration
string OperationType { get; }
Property Value
PartIndex
Index of the Part inside Technologist to which this operation relates
Declaration
Property Value
ReturnRule
Return move after operation end
Declaration
string ReturnRule { get; set; }
Property Value
SetupStageIndex
Index of the Setup stage inside Technologist to which this operation relates
Declaration
int SetupStageIndex { get; }
Property Value
Simulated
The operation is simulated
Declaration
Property Value
Technologist
Owning Technologist of the operation. You can try to cast it to (ICamApiTechnologist)
Declaration
ICamApiTechOperationOwner Technologist { get; }
Property Value
Machining tool of the operation. You can cast different interfaces to it depend on exact tool type
Declaration
ICamApiMachiningTool ToolEntity { get; }
Property Value
Units
Measurements of the operation
Declaration
TSTSystemUnits Units { get; }
Property Value
WorkpieceCoordinateSystem
Workpiece coordinate system of the operation
Declaration
ICamApiWorkpieceCoordinateSystem WorkpieceCoordinateSystem { get; }
Property Value
XMLProp
Value in XML-file, describing operation. Call LoadFromXmlProp to apply changes to the operation
Declaration
IST_XMLPropPointer XMLProp { get; }
Property Value
Methods
Declaration
void ExportToolpath(ICamApiExportToolpathReceiver ToolpathReceiver, out TResultStatus ResultStatus)
Parameters
GetBlocksStatistics(out TCamApiTechOperationBlocksStatistics, out TResultStatus)
Declaration
void GetBlocksStatistics(out TCamApiTechOperationBlocksStatistics Statistics, out TResultStatus ResultStatus)
Parameters
GetCoolantTubeInfo(int, out TResultStatus)
Declaration
TCamApiCoolantTubeInfo GetCoolantTubeInfo(int TubeIndex, out TResultStatus ResultStatus)
Parameters
Returns
GetCoolantTubeState(int, out TResultStatus)
Declaration
bool GetCoolantTubeState(int TubeIndex, out TResultStatus ResultStatus)
Parameters
Returns
GetCoolantTubesCount()
Get the number of coolant tubes available on the current machine (up to 20).
Declaration
int GetCoolantTubesCount()
Returns
Declaration
TCamApiFeedInfo GetFeedValue(TFeedTypeFlag FeedType, out TResultStatus ResultStatus)
Parameters
Returns
GetFirstChildOperation(TCamApiReorderingMode)
Declaration
ICamApiTechOperation GetFirstChildOperation(TCamApiReorderingMode ReorderingMode)
Parameters
Returns
GetLengthStatistics(out TCamApiTechOperationLengthStatistics, out TResultStatus)
Declaration
void GetLengthStatistics(out TCamApiTechOperationLengthStatistics Statistics, out TResultStatus ResultStatus)
Parameters
GetNextSiblingOperation(TCamApiReorderingMode)
Declaration
ICamApiTechOperation GetNextSiblingOperation(TCamApiReorderingMode ReorderingMode)
Parameters
Returns
GetParentOperation(TCamApiReorderingMode)
Declaration
ICamApiTechOperation GetParentOperation(TCamApiReorderingMode ReorderingMode)
Parameters
Returns
GetPropIterator(string, out TResultStatus)
Declaration
IST_CustomPropIterator GetPropIterator(string PageID, out TResultStatus ResultStatus)
Parameters
Returns
GetSpindleState()
Get spindle speed and rotation information for the operation.
Declaration
TCamApiSpindleState GetSpindleState()
Returns
GetTimeStatistics(out TCamApiTechOperationTimeStatistics, out TResultStatus)
Declaration
void GetTimeStatistics(out TCamApiTechOperationTimeStatistics Statistics, out TResultStatus ResultStatus)
Parameters
Returns true if the operation has its own toolpath and it could be exported using ExportToolpath.
Groups has no toolpath at all.
If the operation is not Calculated, HasToolpath is false.
Declaration
Returns
InitMachineEvaluator(ICamApiMachineEvaluator, out TResultStatus)
Declaration
void InitMachineEvaluator(ICamApiMachineEvaluator MachineEvaluator, out TResultStatus ResultStatus)
Parameters
LoadFromXmlProp(IST_XMLPropPointer, out TResultStatus)
Declaration
void LoadFromXmlProp(IST_XMLPropPointer XMLProp, out TResultStatus ResultStatus)
Parameters
RegisterHandler(string, ICamApiEventHandler, IListString, out TResultStatus)
Declaration
void RegisterHandler(string HandlerIdent, ICamApiEventHandler Handler, IListString Events, out TResultStatus ResultStatus)
Parameters
SaveToXmlProp(out IST_XMLPropPointer, out TResultStatus)
Declaration
void SaveToXmlProp(out IST_XMLPropPointer XMLProp, out TResultStatus ResultStatus)
Parameters
SetCoolantTubeState(int, bool, out TResultStatus)
Declaration
void SetCoolantTubeState(int TubeIndex, bool State, out TResultStatus ResultStatus)
Parameters
Declaration
void SetFeedOutputMeasurement(TFeedTypeFlag FeedType, TCamApiFeedMeasurement OutputMeasurement, out TResultStatus ResultStatus)
Parameters
Declaration
void SetFeedValue(TFeedTypeFlag FeedType, TCamApiFeedMeasurement InputMeasurement, double Value, out TResultStatus ResultStatus)
Parameters
SetSpindleGearBoxRange(int)
Declaration
void SetSpindleGearBoxRange(int Range)
Parameters
| Type |
Name |
Description |
| int |
Range |
|
SetSpindleMaxRPMValue(double)
Declaration
void SetSpindleMaxRPMValue(double MaxRPMValue)
Parameters
| Type |
Name |
Description |
| double |
MaxRPMValue |
|
SetSpindleRotationByDefault()
Declaration
void SetSpindleRotationByDefault()
SetSpindleRotationDirection(TCamApiSpindleRotationDirection)
Declaration
void SetSpindleRotationDirection(TCamApiSpindleRotationDirection direction)
Parameters
SetSpindleRotationsToCSS(double)
Declaration
void SetSpindleRotationsToCSS(double SurfaceSpeedValue)
Parameters
| Type |
Name |
Description |
| double |
SurfaceSpeedValue |
|
SetSpindleRotationsToOff()
Declaration
void SetSpindleRotationsToOff()
SetSpindleRotationsToRPM(double)
Declaration
void SetSpindleRotationsToRPM(double RPMValue)
Parameters
| Type |
Name |
Description |
| double |
RPMValue |
|
UnregisterHandler(string, out TResultStatus)
Declaration
void UnregisterHandler(string HandlerIdent, out TResultStatus ResultStatus)
Parameters