Configure global units and measurement system

Build 1501 on 14/Nov/2017  This topic last edited on: 26/Oct/2016, at 12:35

In GN4

1.Run EdAdmin4 and then select Client Applications under Applications Configuration.

2.Expand the search box and then in Name, enter GlobalConfig.

3.Click the Apply search button or press the 8 key.

4.Double-click the GlobalConfig row, to enter editing.

5.Edit the XML statements:

    <Units BigPoints="true" USACoding="true" DefHorzMis="pt" DefMis="pt">

      <!-- Example custom unit 'line' - 1 line = 10 big points -->

      <Mis1 Name="line" Abbreviation="ln" Num="254" Den="72" DecimalPlaces="2" />

      <!-- Example custom unit 'page' - 1 page = 60 lines -->

      <Mis2 Name="page" Abbreviation="pg" Num="15240" Den="72" DecimalPlaces="2" />

    </Units>

6.On the Config menu, click Save.

7.Restart GN4 applications.

Edit the GlobalConfig.XML, related to:

    <Units BigPoints="true" USACoding="true" DefHorzMis="pt" DefMis="pt">

      <!-- Example custom unit 'line' - 1 line = 10 big points -->

      <Mis1 Name="line" Abbreviation="ln" Num="254" Den="72" DecimalPlaces="2" />

      <!-- Example custom unit 'page' - 1 page = 60 lines -->

      <Mis2 Name="page" Abbreviation="pg" Num="15240" Den="72" DecimalPlaces="2" />

    </Units>

BigPoints

When false or missing, a point is 1/72,27 inch (so called "Tex point", equal to 0.3514598035 mm). When true, it is 1/72 inch (so called "Postscript" or "big" point, equal to 0.3527777778 mm.

UsaCoding

When true, the extended syntax of measurement units is enabled.

DefHorzMis

A valid measurement unit for horizontal measures in Ted4 and Fred4.

DefMis

A valid measurement unit for vertical measures in Ted4 and Fred4, and for all measures in GN4 browser

Mis1, Mis2

Custom measurement units.

See also Configure application specific measurement systems.

About big points

To see if your system uses big points or not, execute this line from the Script Editor:

msgbox (DataConnection.Instance.ClientLogin.GlobalConfig.bigpoints)

If it displays True, your system is using big points. Otherwise, it will display false.

Note

After changing this value in GlobalConfig, you need to reset the IIS and restart GN4 applications.