Golden Software Blanking [.BLN] Export Automation Options

Since the Export Options dialog is not displayed when the program is driven from an automation script, an options string can be specified in the script. The string consists of comma-separated parameters, which specify the behavior of the various export options. A typical example would be:

"Defaults=1,ScalingSourceApp=0"

This would set all export options to their default values, then indicate the scaling source information should not be taken from the application, but from previously saved values.

Option

Action

Default

Description

BreakApartCompoundAreas

0 = No

1 = Yes

0

Compound areas (multi-ring polygons) will be split apart into multiple non-compound areas (simple polygons) during export.

WriteZ

0 = No

1 = Yes

0

Z values (elevation) will be included in the .BLN file. When Z values are not available for an object, 0 will be written in the Z column.

BlankMode

0 = Outside

1 = Inside

2 = Use BLN_Flag attribute

1

When set to 0, sets the blanking flag to 0 to assign NoData values outside areas. When set to 1, sets the blanking flag to 1 to assign NoData values inside areas. When set to 2, the BLN_Flag attribute determines the blanking flag for each object.

ScalingSource

0 = previously saved

1 = application-supplied

1

Use previously saved or application-supplied scaling source

SaveScalingInfo

0 = No

1 = Yes

0

Save scaling parameters for later use.

PageLLX

N.N

 

Set application page rectangle lower left X value.

PageLLY

N.N

 

Set application page rectangle lower left Y value.

PageURX

N.N

 

Set application page rectangle upper right X value.

PageURY

N.N

 

Set application page rectangle upper right Y value.

FileLLX

N.N

 

Set scaling rectangle lower left X value.

FileLLY

N.N

 

Set scaling rectangle lower left Y value.

FileURX

N.N

 

Set scaling rectangle upper right X value.

FileURY

N.N

 

Set scaling rectangle upper right Y value.

Remarks

Scaling rectangle parameters changed between Surfer 8 and Surfer 9 and newer versions. For example:

 

Use FileURX instead of BLNUpperRightX.

Use PageLLY instead of APPLowerLeftY.

Surfer 8 and older rectangle-coordinate parameters are still supported, but in new scripts use of the current parameter names is recommended.

Boolean values within options strings are not equivalent to Booleans in Scripter BASIC. Use “1” instead of “True” and “0” instead of “False”.

See Also

Blanking File Format

Golden Software Blanking File Description

Golden Software Blanking Import Automation Options

Golden Software Blanking Export Options Dialog

Export Automation

Export Options String