Navigation: Scripting Reference Manual > Functions & Subroutines > IsLens

 

IsLens

 

Contact Us: fredsupport@photonengr.com

 

Description

Identifies if a specific entity in the FRED document's tree is a lens element or not.

 

Syntax

isL = IsLens ( n )

 

Parameters

isL (Boolean)

True if the item is a lens, False otherwise.

 

n As Long

Node number of the entity.

 

Remarks

This function identifies if a specific entity in the FRED document's tree is a lens or not. If there is a problem, the function sets an error and returns False.

 

See Also

AddPlane

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC