Interface ICamApiCommonTurningModelItem
Common turning model item (XML: TCommonTurningModelItem). Used by TLatheODTurning (default model item "Roughing"), TLatheIDTurning, TLatheODFinishing and similar operations. Allowed cycle types: lcctProfile, lcctOffsetLegacy, lcctOffsetRoughing, lcctRoughingAdvanced (default), lcctRoughing, lcctZigzag.
Namespace: CAMAPI.ModelFormerLatheTypes
Assembly: CAMAPI.ModelFormerLatheTypes.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("E4F50617-2839-4A12-D3E4-F5061728901B")]
public interface ICamApiCommonTurningModelItem
Properties
ActiveCycle
Active cycle as IUnknown. QueryInterface to the matching cycle interface (Profile / OffsetLegacy / OffsetRoughing / RoughingAdvanced / Roughing / Zigzag); the same object also exposes ICamApiLatheCycleCommon, ICamApiLatheCycleLeads and ICamApiLatheCycleOverrideFeeds. Use ActiveCycleType to discriminate.
Declaration
object ActiveCycle { get; }
Property Value
| Type | Description |
|---|---|
| object |
ActiveCycleType
Discriminator: which cycle type is currently active.
Declaration
TLatheContourCycleType ActiveCycleType { get; }
Property Value
| Type | Description |
|---|---|
| TLatheContourCycleType |
Common
Common tab parameters (MachiningSide, RoundingRadius, ToolAngles, etc.). Always valid regardless of active cycle type.
Declaration
ICamApiLatheCycleCommon Common { get; }
Property Value
| Type | Description |
|---|---|
| ICamApiLatheCycleCommon |
Leads
Leads tab parameters (Approach, Engage, Retract). Always valid regardless of active cycle type.
Declaration
ICamApiLatheCycleLeads Leads { get; }
Property Value
| Type | Description |
|---|---|
| ICamApiLatheCycleLeads |
OverrideFeeds
Override feeds parameters. Always valid regardless of active cycle type.
Declaration
ICamApiLatheCycleOverrideFeeds OverrideFeeds { get; }
Property Value
| Type | Description |
|---|---|
| ICamApiLatheCycleOverrideFeeds |
Methods
SetActiveCycle(TLatheContourCycleType, out TResultStatus)
Declaration
void SetActiveCycle(TLatheContourCycleType CycleType, out TResultStatus ResultStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| TLatheContourCycleType | CycleType | |
| TResultStatus | ResultStatus |