# Knowledge Base

Adds a ring primitive to the simulation environment.

 Supported Product: FDTD, MODE, DEVICE

 Syntax Description addring; Adds a ring primitive to the simulation environment. This function does not return any data.

Example

The following script commands will create a half-ring named "new_ring" with an inner radius of 5 um and an outer radius of 7 um centered at (x,y,z) = (1, 2, 0) microns.  The ring will have a thickness (z span) of 10 microns.

set("name","new_ring");

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

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

set("z",0);

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

set("theta start",0);

set("theta stop",180);