Please enable JavaScript to view this site.

Knowledge Base

Sets the width or height of an element rectangle.


Supported Product: INTERCONNECT




setrectangle ("element",w,h);

Sets the width (w) and height (h) of an element rectangle.



To set a waveguide element named "Straight Waveguide_1" with w=1um and h=0.5um, use the following script

 setrectangle("Straight Waveguide_1",1e-6,0.5e-6) ;


See Also

Manipulating objects, getrectangle, setposition

Copyright Lumerical Inc. | Privacy | Site Map