Please enable JavaScript to view this site.

Knowledge Base

Gets the width or height of an element rectangle.

 

Supported Product: INTERCONNECT

 

Syntax

Description

out=getrectangle ("element",”w”);

Returns the width of an element rectangle.

out=getrectangle ("element",”h”);

Returns the height of an element rectangle.

 

Example

To get the x position of a waveguide element named "Straight Waveguide_1" use the following script

?getrectangle("Straight Waveguide_1","w") ;

result: 

1e-006 

 

See Also

Manipulating objects, setrectangle, getposition

Copyright Lumerical Inc. | Privacy | Site Map