CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiCustomAttributesArray

    Array of custom attributes.

    Namespace: CAMAPI.CustomAttributes
    Assembly: CAMAPI.CustomAttributes.dll
    Syntax
    [Guid("6BB81940-EF97-457F-B4D4-C0AA1A23B927")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiCustomAttributesArray : ICamApiCustomAttribute

    Properties

    Count

    Count of attributes in the array.

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

    DefaultAttributeType

    If defined non empty DefaultAttributeType then the user can change count of items inside array in window, otherwise not. An attribute of this type will be created.

    Declaration
    ICamApiCustomAttribute DefaultAttributeType { get; set; }
    Property Value
    Type Description
    ICamApiCustomAttribute

    DefaultTypeID

    If defined non empty DefaultTypeID (or DefaultAttributeType) then the user can change count of items inside array in window, otherwise not. An attribute of this type will be created.

    Declaration
    Guid DefaultTypeID { get; }
    Property Value
    Type Description
    Guid

    Description

    Declaration
    string Description { get; set; }
    Property Value
    Type Description
    string

    InstanceID

    Declaration
    Guid InstanceID { get; }
    Property Value
    Type Description
    Guid

    IsUntyped

    Declaration
    bool IsUntyped { get; }
    Property Value
    Type Description
    bool

    ItemInstanceID[int]

    Declaration
    Guid ItemInstanceID[int Index] { get; }
    Parameters
    Type Name Description
    int Index
    Property Value
    Type Description
    Guid

    ItemTypeID[int]

    Declaration
    Guid ItemTypeID[int Index] { get; }
    Parameters
    Type Name Description
    int Index
    Property Value
    Type Description
    Guid

    Name

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    string

    ParentInstanceID

    Declaration
    Guid ParentInstanceID { get; }
    Property Value
    Type Description
    Guid

    Transparent

    If transparent is False then the category itself will be invisible, but children attributes will be shown at parent level directly.

    Declaration
    bool Transparent { get; set; }
    Property Value
    Type Description
    bool

    TypeCategoryID

    Declaration
    Guid TypeCategoryID { get; set; }
    Property Value
    Type Description
    Guid

    TypeID

    Declaration
    Guid TypeID { get; }
    Property Value
    Type Description
    Guid

    ValueType

    Declaration
    TCustomAttributeValueType ValueType { get; }
    Property Value
    Type Description
    TCustomAttributeValueType

    Methods

    AddItemAt(Guid, Guid, int)

    Declaration
    int AddItemAt(Guid InstanceID, Guid TypeID, int atIndex)
    Parameters
    Type Name Description
    Guid InstanceID
    Guid TypeID
    int atIndex
    Returns
    Type Description
    int

    IndexOfInstanceID(Guid)

    Declaration
    int IndexOfInstanceID(Guid InstanceID)
    Parameters
    Type Name Description
    Guid InstanceID
    Returns
    Type Description
    int

    IndexOfTypeID(Guid)

    Declaration
    int IndexOfTypeID(Guid TypeID)
    Parameters
    Type Name Description
    Guid TypeID
    Returns
    Type Description
    int

    MoveItem(int, int)

    Declaration
    bool MoveItem(int fromIndex, int toIndex)
    Parameters
    Type Name Description
    int fromIndex
    int toIndex
    Returns
    Type Description
    bool

    RemoveItem(int)

    Declaration
    bool RemoveItem(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    bool
    In this article