Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addring

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

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.

addring;

set("name","new_ring");

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

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

set("inner radius",5e-6);

set("outer radius",7e-6);

set("z",0);

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

set("theta start",0);

set("theta stop",180);

 

See Also

Adding Objects, set

Copyright Lumerical Inc. | Privacy | Site Map