Navigation: Scripting Reference Manual > Functions & Subroutines > PathName

 

PathName

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the name of a specified path.

 

Syntax

pname = PathName ( path )

 

Parameters

pname (String)

The name of the specified path.

 

path As Long

The identifier of the path.

 

Remarks

This function retrieves the name of a specified path. If there is a problem the function returns an empty string and does not set an error.

 

FRED must be in the user-defined path mode in order to use this command. Put FRED in this mode with the command SetUserDefinedRayPathMode True.

 

See Also

SetUserDefinedRayPathMode

Path Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC