Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leMergeShapes

leMergeShapes( 
l_shapes 
[ x_sides ]
) 
=> l_newShapes / nil

Description

Merges the list of shapes l_shapes. The input shapes can be on multiple layers. Merges only shapes on the same layer. Returns the list of shapes resulting from the operation.

Arguments

l_shapes

List of shapes to be merged.

x_sides

Specifies the number of sides to use when converting conic shapes to polygons before merging them.

Default Value: 20

Valid Values: any positive integer

Value Returned

l_newShapes

The list of shapes resulting from the merge.

nil

The shapes did not merge.

Example

Merges the objects fig1, fig2, and fig3 after converting any conics to polygons with the default of 20 sides and returns the object ID of the resulting shape.

leMergeShapes( list(fig1 fig2 fig3) )

Interactive Function

Enter this function with only the window ID argument; the system prompts you to point to the shapes to be merged. If you do not specify w_windowId, the current window is used.

leHiMerge( [ w_windowId ] ) => t / nil


Return to top
 ⠀
X