Bitbybit Docs
    Preparing search index...

    Class CombineAssemblyStructureDto<T> (Inputs.OCCT)

    Parts, nodes and the update lists for assembly.manager.combineStructure, which gathers them into one structure for buildAssemblyDocument; the update lists only matter when an existing document is updated.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    parts: AssemblyPartDef<T>[]

    The part definitions from createPart, the shapes that instances place.

    []
    

    The assembly and instance node definitions that make up the tree.

    []
    
    removals?: string[]

    Labels of parts, instances or assemblies to remove from an existing document; ignored for a new one.

    undefined
    

    true

    partUpdates?: AssemblyPartUpdateDef<T>[]

    Changes to parts of an existing document from createPartUpdate; ignored for a new one.

    undefined
    

    true

    clearDocument?: boolean

    When true, an existing document is emptied before the new parts and nodes are added; when false its content is kept and the removals and updates applied.

    false
    
    loadedParts?: AssemblyLoadedPartDef[]

    Imported part definitions from createImportedPart, each copying a label tree out of one of the source documents so instances can place it.

    undefined
    

    true