Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schExtendSelSet

schExtendSelSet( 
w_windowId 
l_pt 
)
=> t / nil

Description

Extends the selection of the object in the specified position by selecting the object around the current object.

Searches through the schematic cellview for objects that touch the object in the specified position and adds them to the selected set. For example, extending a wire selects all segments in the same branch (stopping at T-intersections, pins, instance pins, or changes in wire width). The function extends it again and selects all objects in the path, stopping only at pins and instance pins.

You can extend an instance to select all wire segments connected to any of its instance pins. Repetitive extended selection of an instance extends the wires as defined above.

You can extend labels to apply to more objects. Repetitive extended selection of a label extends the label as defined above.

When this function reaches the maximum selection level, it cycles back to the single object.

Arguments

w_windowId

Window to which to apply the selection.

l_pt

Point that specifies the location of the selection.

Value Returned

t

Extends the selection of the object in the specified position by selecting the object around the current object.

nil

Selection extension was unsuccessful.

Examples

If the specified point is over the object, this function selects the object. If the object is already selected, this function extends the object. Any objects in the next selection level are added to the selected set. You can incrementally increase the selection level until an object is selected. If the function reaches the maximum extension level, it cycles back to a single object.

schExtendSelSet( hiGetCurrentWindow( ) hiGetCommandPoint( ) )

Return to top
 ⠀
X