Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addlayer

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

Adds a layer to the layer builder object. The command only works if there is a layer builder object and is selected.

 

Supported Product: FDTD, MODE, DEVICE

 

Syntax

Description

addlayer;

Adds a layer to the selected layer builder object.  The name of the layer is set to "default name".

This function does not return any data.

addlayer("name");

Adds a layer named "name"

 

Example

The following script commands will create a layer builder object and add two layers to it.

addlayerbuilder;

 

# Layer 1 = 100 nm layer of silver

addlayer("layer_1");

setlayer("layer_1","thickness",100e-9);

setlayer("layer_1","material","Ag (Silver) - CRC");

 

# Layer 2 = 500 nm layer of silicon

addlayer("layer_2");

setlayer("layer_2","thickness",500e-9);

setlayer("layer_2","material","Si (Silicon)");

 

See Also

addlayerbuilder, getlayerlist, setlayer, loadgdsfile, getcelllist, getlayerlist, setlayer

 

Copyright Lumerical Inc. | Privacy | Site Map