Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Material database

materialexists

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

Returns a boolean indicating whether or not a material exists in the material database.

 

Supported Product: FDTD, MODE, DEVICE

 

Syntax

Description

materialexists("materialname");

Returns 1 if the material named "materialname" is present in the material database. Otherwise return 0.

 

See Also

Material database, addmaterial, deletematerial, setmaterial, getmaterial, copymaterial

Copyright Lumerical Inc. | Privacy | Site Map