#

## render

Specify properties of CIF layer rendering

render name [height thick [style]]

### Usage:

> render name [height thick [style]]

> > where name is the CIF name of a CIF or GDS layer, height and thick are values for the height above substrate of the layer bottom, and the total layer thickness, and style is a known display style from the `.dstyle` file.

### Summary:

> The render command can be used to replace or complement the render lines in the cifoutput section of a magic technology file. These lines specify, for each CIF/GDS layer to be drawn, a height and thickness value, and a style to use when drawing the layer.

> Note that normally, magic styles are used to draw internal tile types, not CIF/GDS layers. Thus, each of these layers must be mapped to a style before magic can draw them. Without specification, the style defaults to zero (actual output dependent on the contents of the `.dstyle` file), and height and thickness also default to zero.

### Implementation Notes:

> render is implemented as a built-in wind3d window command in magic. It can only be invoked from a window created with the specialopen wind3d command, or the render procedure. Note that the wind3d window is only available when magic is compiled with the OpenGL graphics option and invoked with magic -d OGL.

> Note that macros of the wind3d window are hard-coded, and cannot be changed with the macro, gmacro, or imacro commands. There is no "`:`" macro for entering commands; to enter commands from the command-line, use the tk_path_name command. The default Tk path name of the wind3d window is "`.magic3d`".

Return to command index

Last updated: October, 2004