Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Manipulating objects

createcompound

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

The script command creates a compound element with the currently selected elements.

 

Supported Product: INTERCONNECT

 

Syntax

Description

createcompound;

Creates a compound element with the currently selected elements.

 

Example

Suppose a "Straight Waveguide_1" and a "Waveguide Coupler_1_1" are added and connected in the schematic editor, using those scripts will create a compound

select("Straight Waveguide_1");

select("Waveguide Coupler_1_1");

createcompound;

with a default name "COMPOUND_1".

 

See Also

autoarrange, addproperty, setexpression

Copyright Lumerical Inc. | Privacy | Site Map