bitbybit.dev v1.0.2
    Preparing search index...

    Class CreateImportedPartDto

    Imported parts copy a label tree from a source document (typically STEP-loaded) into the new assembly, preserving sub-assembly hierarchy. They become referenceable as a single part (by id) from any instance node.

    Index

    Constructors

    • Parameters

      • Optionalid: string
      • OptionalsourceDocumentIndex: number
      • OptionalsourceLabel: string
      • Optionalname: string
      • OptionalcolorRgba: ColorRGBA

      Returns CreateImportedPartDto

    Properties

    id: string
    undefined
    
    sourceDocumentIndex: number

    Index into the sourceDocuments array passed to buildAssemblyDocument.

    0
    
    sourceLabel?: string

    Optional OCAF entry string of the label to copy from the source document (e.g. "0:1:1:1"). assembly compound when there are multiple).

    undefined
    
    name?: string
    undefined
    
    colorRgba?: ColorRGBA
    undefined