Bitbybit Docs
    Bereite Suchindex vor...

    Schnittstelle AssemblyNodeJson (Models.OCCT)

    Assembly node from native JSON parsing. Contains id, name, assembly flag, visibility, optional color and transform. Includes hierarchy information (parentId, depth) and instance/definition tracking.

    interface AssemblyNodeJson {
        id: string;
        parentId?: string;
        depth: number;
        name: string;
        isAssembly: boolean;
        isInstance: boolean;
        definitionId?: string;
        definitionName?: string;
        visible: boolean;
        colorRgba?: any;
        transform?: any;
    }
    Index

    Eigenschaften

    id: string

    Unique path identifier (e.g., "/0:1:1:1/0:1:1:2")

    parentId?: string

    Parent node ID for hierarchy reconstruction (undefined for root nodes)

    depth: number

    Depth in the assembly hierarchy (0 = root)

    name: string

    Part/assembly name

    isAssembly: boolean

    True if this is an assembly (has children), false if leaf part

    isInstance: boolean

    True if this node is an instance referencing a definition

    definitionId?: string

    Definition ID that this instance refers to (only set if isInstance is true). Multiple instances with the same definitionId share the same geometry.

    definitionName?: string

    Name of the part or assembly this instance places (only set if isInstance is true, empty if it has none)

    visible: boolean

    Visibility flag

    colorRgba?: any

    Surface color (if set)

    transform?: any

    4x4 transformation matrix in column-major order (if not identity)