CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiPrismModelItem

    Model item representing an extrude (prism) built from selected 2D contour geometry (added via ICamApiModelFormerWithPrism.AddPrismSelected on a workpiece former).

    Namespace: CAMAPI.ModelFormerTypes
    Assembly: CAMAPI.ModelFormerTypes.dll
    Syntax
    [Guid("2C94E07F-38B1-4A5D-9F6D-1B73C8402D5E")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiPrismModelItem

    Methods

    GetAxisIndex()

    Projection axis: 0=ToolAxis, 1=ContourPlane, 2=X, 3=Y, 4=Z, 5=CustomVector.

    Declaration
    int GetAxisIndex()
    Returns
    Type Description
    int

    GetBottomLevel()

    Bottom Z level of the prism (Zmin on the underlying TPrismItem).

    Declaration
    double GetBottomLevel()
    Returns
    Type Description
    double

    GetStock()

    Radial stock offset.

    Declaration
    double GetStock()
    Returns
    Type Description
    double

    GetTopLevel()

    Top Z level of the prism (Zmax on the underlying TPrismItem).

    Declaration
    double GetTopLevel()
    Returns
    Type Description
    double

    SetAxisIndex(int, out TResultStatus)

    Declaration
    void SetAxisIndex(int Value, out TResultStatus ResultStatus)
    Parameters
    Type Name Description
    int Value
    TResultStatus ResultStatus

    SetBottomLevel(double, out TResultStatus)

    Declaration
    void SetBottomLevel(double Value, out TResultStatus ResultStatus)
    Parameters
    Type Name Description
    double Value
    TResultStatus ResultStatus

    SetStock(double, out TResultStatus)

    Declaration
    void SetStock(double Value, out TResultStatus ResultStatus)
    Parameters
    Type Name Description
    double Value
    TResultStatus ResultStatus

    SetTopLevel(double, out TResultStatus)

    Declaration
    void SetTopLevel(double Value, out TResultStatus ResultStatus)
    Parameters
    Type Name Description
    double Value
    TResultStatus ResultStatus
    In this article