Please enable JavaScript to view this site.

Knowledge Base

Adds a rectangle primitive to the simulation environment.

 

Supported Product: FDTD, MODE, DEVICE

 

Syntax

Description

addrect;

Adds a rectangle primitive to the simulation environment.

This function does not return any data.

 

Example

The following script creates a rectangle primitive, sets its dimension, and assigns a material to it.

addrect;

set("name","new_rectangle");

set("x",1e-6);

set("x span",2e-6);

set("y",1e-6);

set("y span",5e-6);

set("z",0);

set("z span",10e-6);

set("material","Si (Silicon) - Palik");

 

See Also

Adding Objects, set

Copyright Lumerical Inc. | Privacy | Site Map