Navigation: Scripting Reference Manual > Functions & Subroutines > SetSurfMaterials

 

SetSurfMaterials

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the materials that are assigned to a specific FRED surface.

 

Syntax

SetSurfMaterials n, mtrl1, mtrl2

 

Parameters

n As Long

Node number of the FRED surface.

 

mtrl1 As Long

Identifier of the first material.

 

mtrl2 As Long

Identifier of the second material.

 

Remarks

This subroutine sets the materials that apply to a specific FRED surface. If there is a problem, the subroutine sets an error and returns without modifying the surface.

 

See Also

SetSurfCoating

SetSurfIthScatter

SetSurfRaytraceCtrl

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC