Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating objects

setrectangle

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

Sets the width or height of an element rectangle.

 

Supported Product: INTERCONNECT

 

Syntax

Description

setrectangle ("element",w,h);

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

 

Example

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