Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addsphere

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

Adds a sphere primitive to the simulation environment.

 

Supported Product: FDTD, MODE, DEVICE

 

Syntax

Description

addsphere;

Adds a sphere primitive to the simulation environment.

This function does not return any data.

 

Example

The following script commands will create a sphere with a radius of 5 um centered at (x,y,z) = (1, 2, 0) microns.

addsphere;

set("name","new_sphere");

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

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

set("z",0);

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

 

See Also

Adding Objects, set

Copyright Lumerical Inc. | Privacy | Site Map