next up previous contents index
Next: Cells Up: Geometry Editing Functions 1 Previous: Geometry Editing Functions 1   Contents   Index

General Editing

Commit()
The Commit functions terminates the present operation, adding it to the undo list. It will also redisplay any changes. This function should be called after each change or after a group of related changes. It is implicitly called when a script exits.

Undo()
This function will undo the most recent operation.

Redo()
This function will redo the last undone operation.

(int) SelectLast(types)
This function selects objects that have been created by the script functions since the last call to Commit or SelectLast (which calls Commit), according to type. The type argument is a string whose characters serve to enable selection of a given type of object: `b' for boxes, `p' for polygons, `w' for wires, `l' for labels, and `c' for instances. If this string is empty or null, then all objects will be selected. Objects that are created using PressButton or otherwise using Xic input implicitly call Commit, so can't be selected in this manner.


next up previous contents index
Next: Cells Up: Geometry Editing Functions 1 Previous: Geometry Editing Functions 1   Contents   Index
Stephen R. Whiteley 2012-04-01