Navigation: Scripting Reference Manual > Functions & Subroutines > FindNameNoCase

 

FindNameNoCase

 

Contact Us: fredsupport@photonengr.com

 

Description

Finds a Source entity, Geometry entity, or Analysis Surface entity with the given base name without respecting case.

 

Syntax

n = FindNameNoCase ( ename )

 

Parameters

n (Long)

Node number of the entity with the given name.

 

ename As String

The base name of the entity to be found (case insensitive).

 

 

Remarks

This function searches all Sources entities, Geometry entities, and Analysis Surface entities for the first one with the given ename.  The name comparisons are case insensitive.

 

Although it is recommended practice to give each entity a unique base name, it is not a requirement.  That is, more than one entity may have the same base name.  The FindName function returns the identifier of the first entity it finds with the given ename.  It returns the value -1 if it does not find a match.

 

 

See Also

FindName

FindFullNameNoCase

FindFullName

FindMaterial

FindScatter

FindRaytraceCtrl

Examples

Materials

Scatter

Raytrace Ctrl

 

 

 

 

 

Copyright © Photon Engineering, LLC