Description Adds a lens to the associated FRED document.
Syntax n = AddLens ( entity, lens )
Parameters n (Long) Node number of the newly added lens.
entity As T_ENTITY Holds the basic entity data for the new lens.
lens as T_LENS Structure containing optical data specific to the new lens.
Remarks This function adds a lens to the associated FRED document. If there is a problem the function sets an error and returns -1 without modifying the associated FRED document.
See Also Examples
|