Please enable JavaScript to view this site.

Knowledge Base

The script command sets the selected element's specified property to the mentioned expression.

 

Supported Product: INTERCONNECT

 

Syntax

Description

setexpression (name,p,expr);

Set the property ‘p’ of element ‘name’ to an expression ‘expr’.

 

Example

To set a label for the temperature  ad "%Temp%" of a waveguide named "Straight Waveguide_1", use the following script

setexpression("Straight Waveguide_1","temperature","%Temp%");

 

See Also

autoarrange, addproperty, setexpression, createcompound

Copyright Lumerical Inc. | Privacy | Site Map