Navigation: Scripting Reference Manual > Functions & Subroutines > FindScatter

 

FindScatter

 

Contact Us: fredsupport@photonengr.com

 

Description

Finds a scatter model with the given name in the associated FRED document.  This string can also be easily copied from the GUI using the "Copy Find-Name Command to Clipboard" feature available in the list menu after right mouse clicking on a node in the object tree.

 

Syntax

id = FindScatter ( sname )

 

Parameters

id (Long)

Identifier of the scatter model with the given name.

 

sname As String

The name of the scatter model.

 

Remarks

This function looks in the associated FRED document for a scatter model with the given name and returns its identifier, or a value of -1 if no such model is found.  The name search is case sensitive.

 

See Also

GetScatterCount

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC