PRMSetFloat

Demonstrates how to set and retrieve numeric values to parameters in the PRM.PRM file.

Remarks

This example illustrates how to set and get the values of numeric parameters.

In EASI, there is no corresponding API calls. The value of a parameter is directly set and retrieved.

Code

 local int mem_value
 local float focal_length

 FOCALMM=2.5
 focal_length=FOCALMM
 print "Value of FOCALMM is ", focal_length

 MEMSIZE=500
 mem_value=MEMSIZE
 print "Value of MEMSIZE is ", mem_value

Output

Value of FOCALMM is 2.5
Value of MEMSIZE is 500

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.