Navigation: Scripting Reference Manual > Functions & Subroutines > SetMaterialName

 

SetMaterialName

 

Contact Us: fredsupport@photonengr.com

 

Description

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

 

Syntax

SetMaterialName id, mname

 

Parameters

id As Long

The identifier of the material.

 

mname As String

The new name of the material.

 

Remarks

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

 

See Also

GetMaterialName

GetMaterialDescription

SetMaterialDescription

FindMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC