Please enable JavaScript to view this site.

Knowledge Base

Adds an object from the object library in FDTD Solutions and MODE Solutions. The command can also be used to return the names of all the available objects and analysis groups in the objects library.

 

Supported Product: FDTD, MODE

 

Syntax

Description

addobject("script_ID");

Adds an object from the object library.

This function does not return any data.

A = addobject;

Returns names of all the objects in the library and saves it in a cell array named "A".

 

Example

Add a rounded cylinder object from the object library.

addobject("rounded_cyl");

set("name","test_cyl");

 

Print the name of all the available elements.

A = addobject;

L = length(A);

for (i = 1:L) {

    ?A{i};

}

 

See Also

Adding Objects, addtogroup, addstructuregroup, addanalysisgroup

Copyright Lumerical Inc. | Privacy | Site Map