Bitbybit Docs
    Preparing search index...

    Class CreatePartUpdateDto<T> (Inputs.OCCT)

    A change to an existing part for assembly.manager.createPartUpdate: a new shape, name or color for the part at a label.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionallabel: string
      • Optionalshape: T
      • Optionalname: string
      • OptionalcolorRgba: ColorRGBA

      Returns CreatePartUpdateDto<T>

    Properties

    label: string

    The label of the part to change, such as 0:1:1:1, as assembly.query.getDocumentParts reports it.

    undefined
    
    shape?: T

    The new geometry of the part; leave it out to keep the old one.

    undefined
    

    true

    name?: string

    The new name of the part; leave it out to keep the old one.

    undefined
    

    true

    colorRgba?: ColorRGBA

    The new color of the part as { r, g, b, a } from 0 to 1; leave it out to keep the old one.

    undefined
    

    true