next up previous contents index
Next: The Xic Scripting Language Up: The User Menu: User Previous: The Rehash Button: Rebuild   Contents   Index

Supplied Example Scripts

The Xic installation provides some example scripts, which will appear in the User Menu.

To use these buttons (or any menu buttons) while in help mode, press Shift while pressing the menu button.

fullcursor
This command executes a script that toggles whether the FullWinCursor variable is set. When set, the default cursor consists of horizontal and vertical lines that extend completely across the drawing window. The lines intersect at the nearest snap point in the current window.

paths
This command executes a script which allows the search path variables to be edited graphically. These variables are otherwise set with the !set command, or from the technology file.

spiral
This is a text-based command for creating a spiral feature. A series of prompts is given on in the prompt line, where the user supplies dimensions, number of turns, etc. When the prompts are complete, an outline of the spiral is attached to the mouse pointer, and will be instantiated in the drawing window where the user clicks, on the current layer.

spiralform
This is a graphical version of the spiral script, where the user fills in a form instead of responding to prompts. This is a demonstration of the capability of Xic to use HTML forms as a front-end to command scripts.

yank
This example script allows the user to copy all geometry in a rectangular area, independent of hierarchy, to a new flat cell. The user clicks twice to define the area, and responds to the prompt for a new cell name. All geometry in the area is copied, clipped to the area, and added to the new cell. The original objects are not affected.


next up previous contents index
Next: The Xic Scripting Language Up: The User Menu: User Previous: The Rehash Button: Rebuild   Contents   Index
Stephen R. Whiteley 2022-05-28