Default (global) units

Build 1501 on 14/Nov/2017  This topic last edited on: 27/Oct/2016, at 15:01

Default units allow to omit the measure unit when entering values in palettes, or when specifying them as parameters of GNML tags, for example, >h 7< means 7 "default units", i.e. if default unit is pc, then it is 7pc. This setting is global and applies to all the work stations.

The GlobalConfig configuration, in the <Units element, optionally contains two default measurement units:

DefMis specifies the default height measurement unit - all measures displayed in forms will use this unit if the browser form configuration does not indicate the use of a specific unit. If not specified, pt unit is used.

DefHorzMis specifies the default width measurement unit, and it is used by Ted4 & Fred4 - the general-purpose forms in browser use only 'DefMis'. If not specified, pt unit is used.

Mis1 specifies the first global custom length measurement unit definition. If not specified, the default is none. See Custom units for more details.

Mis2 specifies the second global custom length measurement unit definition. If not specified, the default is none. See Custom units for more details.

BigPoints: if True, the system interprets points as 1/72 of an inch (instead of true typographical points, 1/72.27 of an inch). Default value: false. See also Selecting a point value.

USACoding: if True, Use USA format (e.g. '1p6') when displaying measuers in pica (and cicero)      Default value: false. See also USACoding.

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.