Navigation: Scripting Reference Manual > Functions & Subroutines > GetMaterialName

 

GetMaterialName

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the name of a particular material in the associated FRED document.

 

Syntax

mname = GetMaterialName ( id )

 

Parameters

mname (String)

The name of the material.

 

id As Long

Identifier of the material.

 

Remarks

This function retrieves the name of a particular material in the associated FRED document. If there is a problem the function sets an error and returns without modifying mname.

 

See Also

SetMaterialName

GetMaterialDescription

SetMaterialDescription

FindMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC