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

schHiStretch

schHiStretch(
[ ?routeMethod t_routeMethod ]
[ ?useSelSet t_useSelSet ]
)
=> t

Description

Moves objects or partially selected objects and maintains connectivity with rubberband lines. Usable only when editing schematics. You cannot stretch objects between two different cellviews.

The t_useSelSet argument controls what is stretched. If this argument is set to useSelSet and the selected set contains multiple objects, you are prompted to click a reference point. If the selected set is empty or t_useSelSet is noSelSet, this function is nonmodal, and you are prompted to click to select the object to stretch and this point becomes the reference point. In either case, the system prompts you to click the destination point.

If you select objects other than instances, paths, schematic pins, or wires, they move instead of stretch.

Drag your objects while clicking on a destination. While you drag your selected object, rubberband lines appear that indicate connectivity between the selected object and the object it was connected to.

After you click the destination, the schematic editor computes new connectivity. The schematic editor routes rubberband lines between the selected objects and their old connection by the specified route method.

Arguments

?routeMethod t_routeMethod

Method for rerouting stretched wires; must be enclosed in quotation marks.
Valid Values: full, direct, flight, simple

?useSelSet t_useSelSet

Specifies whether to stretch the selected set or the object you choose with the mouse; must be enclosed in quotation marks.
Valid Values: useSelSet, noSelSet
Default: useSelSet

Value Returned

Always returns t.

Examples

Stretches selected objects to a destination point leaving flight lines. Flight lines left in a schematic indicate intended connectivity.

schHiStretch( "flight" )

Stretches selected objects to a destination point using a routing algorithm that generates orthogonal segments to complete the connection path.

schHiStretch( "full" )

Prompts you to select the object to stretch, even if there are objects in the selected set. Connectivity between the stretched object and other objects is routed using the full routing method.

schHiStretch( "full" "noSelSet" )

Return to top
 ⠀
X