Interface IStaticOperations
Manages creation of static operations.
Namespace: TopSolid.Cam.NC.Kernel.Automating
Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
Syntax
public interface IStaticOperations
Methods
AddPoint(ElementExId, PathPoint)
Adds one point to the tool path.
Declaration
void AddPoint(ElementExId inOperation, PathPoint inPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | inOperation | Operation to modify. |
| PathPoint | inPoint |
AddPointRange(ElementExId, List<PathPoint>)
Adds a point list to the tool path
Declaration
void AddPointRange(ElementExId inOperation, List<PathPoint> inPoints)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | inOperation | Operation to modify. |
| System.Collections.Generic.List<PathPoint> | inPoints |
Create(ref ElementExId)
Creates a static operation in a document.
Declaration
void Create(ref ElementExId ioOperation)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | ioOperation | New operation to create. |
IsStaticOperation(ElementExId)
Tells whether an operation is a Static operation.
Declaration
bool IsStaticOperation(ElementExId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | inElementId | Identifier of the operation to analyze. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if the operation is a Static operation. |
New(DocumentId, SmartText, ElementId, ElementId, ElementId, MotionType)
Allocates a new Static Operation.
Declaration
ElementExId New(DocumentId inDocumentId, SmartText inDescription, ElementId inPartId, ElementId inWCSId, ElementId inToolId, MotionType inType)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartText | inDescription | Description. |
| ElementId | inPartId | Part to machine. |
| ElementId | inWCSId | World coordinate system. |
| ElementId | inToolId | Mounted tool. |
| MotionType | inType | Type of motion in the operation (three, four or five axis, etc...) |
Returns
| Type | Description |
|---|---|
| ElementExId | Identifier of the created operation. |
SetStartingCuttingConditions(ElementExId, SmartReal, SmartReal)
Sets the starting cutting conditions.
Declaration
void SetStartingCuttingConditions(ElementExId inOperation, SmartReal inFeedRate, SmartReal inSpindleRate)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementExId | inOperation | Operation to modify. |
| SmartReal | inFeedRate | |
| SmartReal | inSpindleRate |