Skip to main content

OpenTD reference 2026 R1

Class UserPreferences

Last update: 09.03.2026

Namespace: OpenTD.UserPreferences
Assembly: OpenTD.dll

Provides access to the global user preferences for a dwg.

public class UserPreferences : Preferences, IUpdatable

Inheritance

object ← TdConnected ← Preferences ← UserPreferences

Implements

IUpdatable

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

UserPreferences()

Do not use.

public UserPreferences()

UserPreferences(ThermalDesktop)

public UserPreferences(ThermalDesktop _td)

Parameters

_td ThermalDesktop

Properties

Acceleration

Global acceleration preferences for the dwg.

public Acceleration Acceleration { get; }

Property Value

Acceleration

Advanced

Global advanced preferences for the dwg.

public AdvancedPreferences Advanced { get; }

Property Value

AdvancedPreferences

Calculations

Global calculations preferences for the dwg.

public CalculationsPreferences Calculations { get; }

Property Value

CalculationsPreferences

GraphicsResolution

Global graphics resolution preferences for the dwg.

public GraphicsResolutionPreferences GraphicsResolution { get; }

Property Value

GraphicsResolutionPreferences

GraphicsSize

Global graphics size preferences for the dwg.

public GraphicsSizePreferences GraphicsSize { get; }

Property Value

GraphicsSizePreferences

GraphicsText

Global text preferences for the dwg.

public GraphicsTextPreferences GraphicsText { get; }

Property Value

GraphicsTextPreferences

GraphicsVisibility

Global graphics visibility preferences for the dwg.

public GraphicsVisibilityPreferences GraphicsVisibility { get; }

Property Value

GraphicsVisibilityPreferences

Sinda

Global Sinda preferences for the dwg.

public SindaPreferences Sinda { get; }

Property Value

SindaPreferences

Units

Global units preferences for the dwg.

public UnitsPreferences Units { get; }

Property Value

UnitsPreferences

Methods

GetAcceleration()

Deprecated. Use Acceleration member instead.

public Acceleration GetAcceleration()

Returns

Acceleration

See Also

UserPreferences.Acceleration

GetDwgUnits()

Deprecated. Use Units member instead.

public UnitsPreferences GetDwgUnits()

Returns

UnitsPreferences

See Also

UserPreferences.Units

Update()

Updates the TD entity with the latest client data.

public void Update()

UpdateFromTD()

Updates the client-side instance with the latest data from the TD entity.

public void UpdateFromTD()

Connect with Ansys