CAM API
  • CAM API
v20.0.1
Search Results for

    Show / Hide Table of Contents

    Interface ICadApiFeature

    A node in the CAD model's feature tree — one parametric step of construction (import, sketch, extrude, fillet, …). Mirrors GeCAD ICADFeature. Cast to a concrete sub-interface (e.g. ICadApiExtrudeFeature) via QueryInterface to access type-specific parameters.

    Namespace: CADAPI.Feature
    Assembly: CADAPI.Feature.dll
    Syntax
    [Guid("4A3C1D2E-7B8F-4E02-9C11-6A5FBE8D4017")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface ICadApiFeature

    Properties

    Caption

    Human-readable caption shown in the feature tree (e.g. "#Extrude 1").

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

    Id

    Stable string handle inside the feature tree (e.g. "E1", "S1", "Imp1").

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

    TypeId

    GeCAD-side type identifier (e.g. "#GeCAD.Extrude", "#GeCAD.Sketch"). Use to discriminate before casting to a concrete sub-interface.

    Declaration
    string TypeId { get; }
    Property Value
    Type Description
    string
    In this article