CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiModelFormer

    Model former for technology operation

    Namespace: CAMAPI.ModelFormerTypes
    Assembly: CAMAPI.ModelFormerTypes.dll
    Syntax
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    [Guid("5E407027-CD32-4702-B8DA-B899A8B2EE38")]
    public interface ICamApiModelFormer

    Properties

    Count

    Declaration
    int Count { get; }
    Property Value
    Type Description
    int

    Item[int]

    Declaration
    ICamApiModelItem Item[int Index] { get; }
    Parameters
    Type Name Description
    int Index
    Property Value
    Type Description
    ICamApiModelItem

    LowItemIndex

    Index of the most first item in the list. In most cases it is zero, but can sometimes be -1 if there is a default item in the list.

    Declaration
    int LowItemIndex { get; }
    Property Value
    Type Description
    int

    SupportedItems

    Model types, which can be added to the model former

    Declaration
    ICamApiModelFormerSupportedItems SupportedItems { get; }
    Property Value
    Type Description
    ICamApiModelFormerSupportedItems

    TopItemIndex

    Index of the last item in the list (Count-1).

    Declaration
    int TopItemIndex { get; }
    Property Value
    Type Description
    int

    Methods

    AddItem(string, Guid, string)

    Declaration
    ICamApiModelItem AddItem(string ItemID, Guid ItemType, string ItemTypeName)
    Parameters
    Type Name Description
    string ItemID
    Guid ItemType
    string ItemTypeName
    Returns
    Type Description
    ICamApiModelItem

    AddSupportedItemsSelected(Guid, string)

    Declaration
    ICamApiListModelItem AddSupportedItemsSelected(Guid ItemType, string ItemID)
    Parameters
    Type Name Description
    Guid ItemType
    string ItemID
    Returns
    Type Description
    ICamApiListModelItem

    Clear()

    Declaration
    void Clear()

    DeleteItem(ICamApiModelItem)

    Declaration
    bool DeleteItem(ICamApiModelItem Item)
    Parameters
    Type Name Description
    ICamApiModelItem Item
    Returns
    Type Description
    bool

    DeleteItemById(string, out TResultStatus)

    Declaration
    void DeleteItemById(string ItemID, out TResultStatus ret)
    Parameters
    Type Name Description
    string ItemID
    TResultStatus ret

    FillItemsBySupportedItems()

    Declaration
    bool FillItemsBySupportedItems()
    Returns
    Type Description
    bool

    FindByFullName(string)

    Find an item by its full hierarchical name (matches ICamApiModelItem.Caption). For JA items created from geometry the FullName is the same path accepted by ICamApiGeomModel.FindByFullName (e.g. "Part\Part1.igs\Face6"). Returns nil if not found.

    Declaration
    ICamApiModelItem FindByFullName(string FullName)
    Parameters
    Type Name Description
    string FullName
    Returns
    Type Description
    ICamApiModelItem

    FindItem(string)

    Declaration
    ICamApiModelItem FindItem(string ItemID)
    Parameters
    Type Name Description
    string ItemID
    Returns
    Type Description
    ICamApiModelItem

    GetBoundingBox(TST3DMatrix)

    Declaration
    TST3DBox GetBoundingBox(TST3DMatrix LCS)
    Parameters
    Type Name Description
    TST3DMatrix LCS
    Returns
    Type Description
    TST3DBox

    GetFaceList(ref TST3DMatrix)

    Declaration
    ICamApiFaceList GetFaceList(ref TST3DMatrix LCS)
    Parameters
    Type Name Description
    TST3DMatrix LCS
    Returns
    Type Description
    ICamApiFaceList

    MakeSupportedItems(ICamApiModelFormerMakeSupportedItems, out TResultStatus)

    Declaration
    void MakeSupportedItems(ICamApiModelFormerMakeSupportedItems MakeSupportedItems, out TResultStatus ret)
    Parameters
    Type Name Description
    ICamApiModelFormerMakeSupportedItems MakeSupportedItems
    TResultStatus ret

    SearchInsertItem(Guid, string)

    Declaration
    ICamApiModelItem SearchInsertItem(Guid ItemType, string ItemID)
    Parameters
    Type Name Description
    Guid ItemType
    string ItemID
    Returns
    Type Description
    ICamApiModelItem
    In this article