Next: Adding an Instance of
Up: Template (Parameterized) Cells
Previous: How Template Cells Work
Contents
Index
To create a template cell, one can follow this procedure:
- Write a script that creates the geometry desired in the
template. The script can be authored as any other script. It
should be thoroughly debugged before committing it to a template
cell.
- Use the Edit command to edit a new cell which will become
the template cell. Remember that the name of a template cell must
be suffixed with ``XXX''.
- Add any geometry to the cell that is necessary. This can be
done at any time.
- Bring up the Cell Properties
editor.
- Press Add, which brings up a pop-up menu, and select Tmpl Script in the pop-up menu.
- Press the ``L'' button to the left of the prompt line.
This brings up the Text Editor pop-up.
- Use the Read button of the text editor (in the File
menu) to read in the script file. Perform any last minute
editing.
- Press the Save button in the text editor. The text editor
will go away, and the script will have been saved in the current
cell.
- In the Cell Properties editor, press Add, the select
Tmpl Params in the pop-up menu.
- Enter a string on the prompt line consisting of each parameter
name followed by `=' and its value. The name = value
pairs can be separated by commas or white space. If a value
contains white space, commas, or an equal sign, it should be
quoted by double quotes (`"'). If the value is a string
constant, it should be quoted with both single and double quotes,
as in Param1 = '"this is a string"'. Press Enter when
done.
- This completes the operation. Save the cell to disk.
Next: Adding an Instance of
Up: Template (Parameterized) Cells
Previous: How Template Cells Work
Contents
Index
Stephen R. Whiteley
2006-10-23