Please enable JavaScript to view this site.

Knowledge Base

Gets the number of objects that are selected.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = getnumber;

Returns the number of objects that are selected;

 

Example

Add 2 microns to the radius of all objects named "circle".

select("circle");

for (i=1:getnumber) {

 rad=get("radius",i);

 set("radius",rad+2e-6,i);

}

 

See Also

Manipulating objects, get, getnamed, getnamednumber, set

Copyright Lumerical Inc. | Privacy | Site Map