Accessing FRED Preferences from Script

The following miscellaneous preferences can also be accessed via script:

Number of ARNs to retain

   'get
    numArns = PrefsGetARNRetainCount()

    'set
    PrefsSetARNRetainCount numArns<br>

Generate a different random number sequence for every raytrace

<u><strong></strong></u>    'get
    bSeed = PrefsGetRandomReseed()

    'set
    PrefsSetRandomReseed flag<br>

Use binary format for FGD output files & Display enchanced raytrace statistics

    'get
    bDisp = PrefsGetDisplayEnhRaytraceStats()

    'set
    PrefsSetDisplayEnhRaytraceStats bDisp
<br>
    'get
    binformat = PrefsGetFGDUseBinaryFormat()

    'set
    PrefsSetFGDUseBinaryFormat binformat<br>

Still need help? Contact Us Contact Us