
Importing and exporting parameters
Surface parameters may be imported and exported en masse via a general mechanism based on text blocks of the format, e.g.,
name1 1.445e-3 name2 -2.3e-5 name3 0.0032
where the name1, etc. are the names of the parameters. For import the numbers can be in any format. For export the numbers will all be in scientific format to prevent loss of precision.
To import parameter values from a file:
- Open the Surfaces window
- Select the appropriate surface
- Drag the text file onto the parameter list
To import parameter values by drag and drop:
- Open the Surfaces window
- Select the appropriate surface
- Drag a block of text from another application onto the parameter list
To import parameter values using the clipboard:
- Open the Surfaces window
- Select the appropriate surface
- Select any of the parameters in the parameter list
- In the other application, Copy the text to the clipboard
- In LensForge, do Paste
To export parameter values by drag and drop:
- Open the Surfaces window
- Select the appropriate surface
- Select the desired parameters in the parameter list
- Drag these parameters to another application (if you drag them to the desktop this will create a text clipping)
To export parameter values using the clipboard:
- Open the Surfaces window
- Select the appropriate surface
- Select the desired parameters in the parameter list
- Do Copy from the Edit menu
- The parameters are now on the clipboard in the format above, and can be pasted into another application