Navigation: Scripting Reference Manual > Functions & Subroutines > AddCatalogGlass

 

AddCatalogGlass

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a glass material from a vendor glass material catalog to the associated FRED document.  If the material can not be found in the catalog, an error is set and the function returns a value of -1.

 

Syntax

id = AddCatalogGlass( name, catalog )

 

Parameters

id (Long)

Identifier of the added material.

 

name As String

Name of the material.

 

catalog As String

Vendor catalog to search for the material specified in name.  Options are:

Schott

Ohara

Hoya

Pilkington

CorningSA

Sumita

Chengdu

Hikari

Heraeus

Archer

CDGM

Custom

NHG

RPO

Schott Radiation Resistant Glass

 

See Also

GetCatalogGlass

Materials Script Commands

 

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC