The label of the part to change, such as 0:1:1:1, as assembly.query.getDocumentParts
reports it.
OptionalshapeThe new geometry of the part; leave it out to keep the old one.
OptionalnameThe new name of the part; leave it out to keep the old one.
OptionalcolorThe new color of the part as { r, g, b, a } from 0 to 1; leave it out to keep the old one.
A change to an existing part for
assembly.manager.createPartUpdate: a new shape, name or color for the part at a label.