copy command

Syntax

sketch set copy <source s1 > <target s2 > keyword ... <range>

Primary keywords:

edges    group    points    blocks    translate

Copy sketch set data. All sketch objects from the source set s1 (or the current default, if not specified) are copied to the target sketch set s2. The target set is created if it does not exist. If the target set is not specified, the sketch objects are copied within the source set and a translate vector need to be specified. The optional range can be used to filter which sketch objects are included in the copy. By default, all points, edges and blocks in the range are copied unless the type to be copied is restricted with a keyword.

edges

If specified, only edges and dependent points will be copied.

group s <keyword>

All copied objects will be assigned group name s. Use of the group logic is described in Groups. By default, the group name is added to slot Default.

add

Assign s to the next available slot. In this case, slot Default is used.

slot slot

Set group slot slot to s. By default, slot Default is used.

points

If specified, only points will be copied.

blocks

If specified, only blocks and dependent edges and points will be copied.

translate v2

Translate objects. Copied sketch objects are moved by v2 (2D vector coordinates).