CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICamIpcGeometryTreeNode

    Node of geometry tree

    Namespace: CAMIPC.GeomModel
    Assembly: CAMIPC.GeomModel.dll
    Syntax
    [Guid("2EDBA497-1EE0-44D9-8E1B-431F097FD451")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICamIpcGeometryTreeNode

    Properties

    Child

    Child node of current node

    Declaration
    ICamIpcGeometryTreeNode Child { get; }
    Property Value
    Type Description
    ICamIpcGeometryTreeNode

    DoubleNormal

    Double-sided rendering flag

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

    FullName

    Node full name

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

    GeometryEntity

    Geometry data stored at node

    Declaration
    ICamIpcGeometryEntity GeometryEntity { get; }
    Property Value
    Type Description
    ICamIpcGeometryEntity

    Name

    Node name

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

    ParamsCount

    Number of user-defined parameters attached to this node

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

    Parent

    Parent node of current node

    Declaration
    ICamIpcGeometryTreeNode Parent { get; }
    Property Value
    Type Description
    ICamIpcGeometryTreeNode

    Selected

    Is node selected

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

    Sibling

    Sibling node of current node

    Declaration
    ICamIpcGeometryTreeNode Sibling { get; }
    Property Value
    Type Description
    ICamIpcGeometryTreeNode

    VisMeshU

    Isoparametric curves count in U direction

    Declaration
    int VisMeshU { get; set; }
    Property Value
    Type Description
    int

    VisMeshV

    Isoparametric curves count in V direction

    Declaration
    int VisMeshV { get; set; }
    Property Value
    Type Description
    int

    VisTol

    Visual tessellation tolerance

    Declaration
    double VisTol { get; set; }
    Property Value
    Type Description
    double

    Visible

    Is node visible

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

    Methods

    AddParam(string, TCAMAPIGeomParamType, string)

    Declaration
    void AddParam(string Name, TCAMAPIGeomParamType ParamType, string Value)
    Parameters
    Type Name Description
    string Name
    TCAMAPIGeomParamType ParamType
    string Value

    DeleteParam(string)

    Delete a user parameter by name. Returns false if not found. Throws if system param.

    Declaration
    bool DeleteParam(string Name)
    Parameters
    Type Name Description
    string Name
    Returns
    Type Description
    bool

    GetCadApiModel(ref TExecuteContext)

    Declaration
    ICadIpcModel GetCadApiModel(ref TExecuteContext ExecuteContext)
    Parameters
    Type Name Description
    TExecuteContext ExecuteContext
    Returns
    Type Description
    ICadIpcModel

    GetInstanceId()

    Get unique identifier of current instance (used in IPC messages)

    Declaration
    string GetInstanceId()
    Returns
    Type Description
    string

    GetParamName(int)

    Declaration
    string GetParamName(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    string

    GetParamType(int)

    Declaration
    TCAMAPIGeomParamType GetParamType(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    TCAMAPIGeomParamType

    GetParamValue(int)

    Declaration
    string GetParamValue(int Index)
    Parameters
    Type Name Description
    int Index
    Returns
    Type Description
    string
    In this article