Atlas Boundary [.BNA] 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.

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 have changed between Surfer 8 and Surfer 9 and newer versions. For example:

 

Use FileURX instead of BNAUpperRightX.

Use PageLLY instead of APPLowerLeftY.

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

Atlas BNA Examples

Atlas Boundary File Description

Atlas Boundary [.BNA] Import Automation Options

Atlas Boundary [.BNA] Export Automation Options

Atlas Boundary [.BNA] Export Options Dialog

Export Options String