next up previous contents index
Next: Adding an Instance of Up: Template (Parameterized) Cells Previous: How Template Cells Work   Contents   Index

Creation of a Template Cell

To create a template cell, one can follow this procedure:

  1. 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.

  2. Use the Open 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''.

  3. Add any geometry to the cell that is necessary. This can be done at any time.
  4. Bring up the Cell Properties editor.

  5. Press Add, which brings up a pop-up menu, and select Tmpl Script in the pop-up menu.

  6. Press the ``L'' button to the left of the prompt line. This brings up the Text Editor pop-up.

  7. Use the Read button of the text editor (in the File menu) to read in the script file. Perform any last minute editing.

  8. 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.

  9. In the Cell Properties editor, press Add, the select Tmpl Params in the pop-up menu.

  10. 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.

  11. This completes the operation. Save the cell to disk.


next up previous contents index
Next: Adding an Instance of Up: Template (Parameterized) Cells Previous: How Template Cells Work   Contents   Index
Stephen R. Whiteley 2012-04-01