Skip to content

"Copy To": copy a trace to multiple chosen sections at the same x-y location #91

Description

@dustenhubbard

Problem

A trace can be copied and pasted, but paste only drops it into the current section. Placing the same trace at the same x-y location across several sections means navigating to each section and pasting one at a time.

Proposed

Add a "Copy To" action: copy the selected trace(s), then choose multiple target sections, and place the traces into all of them at the same x-y location in one step.

Notes

KH's request (verbatim): "'Copy To' function-copy a trace to multiple defined sections in same x-y location".
Copy/paste today is copy() and paste() in PyReconstruct/modules/gui/main/field_widget_2_trace.py: paste() re-creates the clipboard traces into the current section via newTrace(..., points_as_pix=False), so field (x-y) coordinates are already preserved; it's just limited to one section at a time. The missing piece is a target-section selector and a loop that writes/saves the traces into each chosen section.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions