Interface ICamApiLatheContourFacingModelItem
Facing model item (XML: TLatheContourFacingModelItem, "Facing" button in TLatheFaceMachining and other lathe-contouring operations). Allowed cycle types: lcctProfile, lcctOffsetLegacy, lcctOffsetRoughing — passing other values to SetActiveCycle fills ResultStatus with rsError.
Namespace: CAMAPI.ModelFormerLatheTypes
Assembly: CAMAPI.ModelFormerLatheTypes.dll
Syntax
[Guid("1C9E53CA-1257-4095-A5B7-A7154D2C95D8")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiLatheContourFacingModelItem
Properties
ActiveCycle
Active cycle as IUnknown. QueryInterface to ICamApiLatheCycleProfile, ICamApiLatheCycleOffsetLegacy or ICamApiLatheCycleOffsetRoughing depending on the active type. 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 (lcctProfile, lcctOffsetLegacy or lcctOffsetRoughing for this container).
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 |