CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamApiCustomAttributesTree

    Custom attributes tree

    Namespace: CAMAPI.CustomAttributes
    Assembly: CAMAPI.CustomAttributes.dll
    Syntax
    [Guid("FB972D43-C08A-4D4C-9ECC-6DB322D5A106")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamApiCustomAttributesTree

    Properties

    Arr

    Get child node as Array by its full name (divided by dots)

    Declaration
    ICamApiCustomAttributesArrayValueIndexer Arr { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesArrayValueIndexer

    AsArray

    Cast of this node to array if its type is array exactly, otherwise null

    Declaration
    ICamApiCustomAttributesTreeNodesArray AsArray { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesTreeNodesArray

    Bol

    Get or set child node value as Boolean by its full name (divided by dots)

    Declaration
    ICamApiCustomAttributesBooleanValueIndexer Bol { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesBooleanValueIndexer

    Flt

    Get or set child node value as Floating point number by its full name (divided by dots)

    Declaration
    ICamApiCustomAttributesFloatValueIndexer Flt { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesFloatValueIndexer

    Int

    Get or set child node value as Integer by its full name (divided by dots)

    Declaration
    ICamApiCustomAttributesIntegerValueIndexer Int { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesIntegerValueIndexer

    Root

    Root node of the tree

    Declaration
    ICamApiCustomAttributesTreeNode Root { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesTreeNode

    Str

    Get or set child node value as String by its full name (divided by dots)

    Declaration
    ICamApiCustomAttributesStringValueIndexer Str { get; }
    Property Value
    Type Description
    ICamApiCustomAttributesStringValueIndexer

    Methods

    ClearAllUndefinedAttributes()

    Delete all attributes from the object that are not defined in any of the libraries attached to the application

    Declaration
    bool ClearAllUndefinedAttributes()
    Returns
    Type Description
    bool

    True if at least one of attributes deleted, otherwise false

    CreateIterator()

    Creates new attributes tree iterator which points to root

    Declaration
    ICamApiCustomAttributesTreeIterator CreateIterator()
    Returns
    Type Description
    ICamApiCustomAttributesTreeIterator

    FindNodeByInstanceID(Guid, bool)

    Declaration
    ICamApiCustomAttributesTreeNode FindNodeByInstanceID(Guid InstanceID, bool Deep)
    Parameters
    Type Name Description
    Guid InstanceID
    bool Deep
    Returns
    Type Description
    ICamApiCustomAttributesTreeNode

    FindNodeByName(string)

    Find node by its full name in tree of nodes (divided by dots)

    Declaration
    ICamApiCustomAttributesTreeNode FindNodeByName(string FullName)
    Parameters
    Type Name Description
    string FullName
    Returns
    Type Description
    ICamApiCustomAttributesTreeNode

    FindNodeByTypeID(Guid, bool)

    Declaration
    ICamApiCustomAttributesTreeNode FindNodeByTypeID(Guid TypeID, bool Deep)
    Parameters
    Type Name Description
    Guid TypeID
    bool Deep
    Returns
    Type Description
    ICamApiCustomAttributesTreeNode

    HasNode(string)

    Returns true only if there is a node with specified full name in tree of nodes (divided by dots)

    Declaration
    bool HasNode(string FullName)
    Parameters
    Type Name Description
    string FullName
    Returns
    Type Description
    bool
    In this article