#Units Directive - General Description |
Top Previous Next |
|
The #Units directive tells Walls how to interpret the data that follows. Although there are many different options that you can include on a #Units directive line, you'll typically be specifying only a few while accepting default settings for the others. For example, if length measurements are in meters, the magnetic declination is 6.5 degrees, and the column order (after the From and To names) is Distance, Azimuth, and Vertical angle, the #Units directive at the beginning of your data file could look like this:
#Units Meters Order=DAV Decl=6.5
or, alternatively, like this:
#Units Decl=6.5
since meters is the default length unit and DAV (Distance, Azimuth, Vertical) is the default column order for the primary measurements.
When a #Units directive line is encountered, the new parameter settings take hold and remain in effect until they are individually overridden by settings in a subsequent #Units directive, or if they are explicitly reset to the default state via the RESET keyword. Ordinarily, only the settings that change need to be respecified.
The Compile Options Property Setting In addition to using the #Units directive to describe data characteristics, you can also make use of the Compile Options page of the Properties Dialog for project tree branches. These settings are stored in the WPJ file. Ideally, the SRV files should be self-contained, but sometimes it's convenient to be able to make global assignments (name prefixes, declinations, etc.) or to experiment with instrument corrections without having to edit numerous data files. When you use this feature, you should be aware that the Compile Options settings are processed by Walls in the order of a complete project tree traversal from the root (folder icon). This has exactly the same effect as a corresponding sequence of #Units directives inserted at the beginning of a survey data file. (The attached/detached state of branches is ignored in this traversal.)
|