Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > GDSII

gdsbegincell

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

This function creates a cell in a GDSII file. All GDS elements (polygons, boxes, references, array references, etc) must be placed inside a cell, so this function must be called before adding any elements. When finished adding elements, gdsendcell can be called to finish the cell. Cells cannot be nested, so after calling gdsbegincell, a new cell cannot be called again until the first called cell has been closed. Although the GDSII file is a flat list of cells, cells can reference other cells, thus creating a nested hierarchy. See gdsaddref for more details. A GDS "cell" exists as a "structure group" when imported to FDTD, see gdsimport for more details.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

gdsbegincell(f, "cellname")

Creates a new cell in a GDSII file.

 

Parameter

Type

Description

f

string

a file handle that was previously opened with gdsopen.

cellname

string

name of the cell.

 

Example

An example of script code is available on the gdsopen page.

 

Note: Just to clarify, a GDS cell is different from a Cell Array in FDTD.

 

See Also

gdsopen, gdsclose, gdsendcell, gdsaddpoly, gdsaddref, gdsimport, cell

Copyright Lumerical Inc. | Privacy | Site Map