All nodes (assemblies and instances)
OptionalremovalsLabels to remove from existing document. Can be part labels, instance labels, or assembly labels. Ignored when creating a new document.
OptionalpartUpdates to apply to existing parts in the document. Each update can change the shape, name, and/or color of a part. Ignored when creating a new document.
Whether to clear the existing document before adding new content. Only relevant when an existingDocument is provided.
true: Clear all existing shapes, then add new parts/nodes (full rebuild)false: Keep existing shapes, apply removals/updates, add new parts/nodes (incremental)
All part definitions (shapes that can be instanced)