Calculations Assign Assembly Drawing
calculations_assign_assembly_drawingDestructive
Attach one pack file to a component (component_key from the bill
of materials), make it the assembly drawing, or discard it. A
component whose drawing changes is priced again; the assembly total
re-settles when it finishes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | `component` attaches the file to `component_key`; `assembly` makes it the assembly's own drawing; `discard` detaches it and drops it from the pack. | |
| component_key | No | Required for `component`. | |
| calculation_id | Yes | ||
| data_source_id | Yes |