Tcl command summary (ASCII text version) ------------------------------------------------- This list can be found in HTML format at URL: http://opencircuitdesign.com/xcircuit/tcl.html ------------------------------------------------- I. Built-in commands (C source) -------------------------------- A. Elements: Main command to create and manipulate objects. "element" is partly a superset of the individual elements, when the command is given a value and the element type is unknown. A is an integer pointer to the element's location in memory. The notation represents a list of handles to elements. can also be the keyword "selected", in which case it implies all selected elements. The is represented as a new Tcl type called "handle", and has an "H" followed by an 8-digit hexadecimal number. This distinguishes it from integers and allows the command line to be parsed correctly. It also discourages the practice of manipulating handles, as arithmetic cannot be performed directly on handle types. One option, "type", does not apply to individual elements. When no is supplied, the option operates on all currently selected elements in the drawing. If no is supplied and no elements are currently selected, then the program goes into an interactive mode, prompting for an element to select and apply the option to. Option "deselect" behaves differently in that 1. element [] type Returns the type of the element, which may be one of "label", "polygon", "instance", "spline", "path", or "arc". 2. []