> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class AdvancedPreferences

Namespace: [OpenTD.UserPreferences](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.UserPreferences)\
Assembly: OpenTD.dll

Use to set the global advanced preferences.

```csharp theme={null}
[DataContract]
public class AdvancedPreferences : Preferences, IUpdatable
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
TdConnected ←
Preferences ←
[AdvancedPreferences](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.UserPreferences.AdvancedPreferences.md)

## Implements

[IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.IUpdatable.md)

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### AdvancedPreferences()

```csharp theme={null}
public AdvancedPreferences()
```

### AdvancedPreferences(ThermalDesktop)

```csharp theme={null}
public AdvancedPreferences(ThermalDesktop _td)
```

#### Parameters

`_td` [ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.ThermalDesktop.md)

## Properties

### TURN\_ON\_BC\_OBJECT\_VIS\_CREATE

```csharp theme={null}
[DataMember]
public int TURN_ON_BC_OBJECT_VIS_CREATE { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### automaticRegens

```csharp theme={null}
[DataMember]
public int automaticRegens { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### bmpPngGifIndex

```csharp theme={null}
[DataMember]
public int bmpPngGifIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### clearMarkersBeforeShowContactorMarkers

```csharp theme={null}
[DataMember]
public int clearMarkersBeforeShowContactorMarkers { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### disableDragDrop

```csharp theme={null}
[DataMember]
public int disableDragDrop { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### disableHardwareGraphicsDuringCalcs

```csharp theme={null}
[DataMember]
public int disableHardwareGraphicsDuringCalcs { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### disableHighlightUponStartup

```csharp theme={null}
[DataMember]
public int disableHighlightUponStartup { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### disableUndoUponStartup

```csharp theme={null}
[DataMember]
public int disableUndoUponStartup { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### doubleClickEdit

```csharp theme={null}
[DataMember]
public int doubleClickEdit { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### editorIndex

```csharp theme={null}
[DataMember]
public int editorIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### enableLighting

```csharp theme={null}
[DataMember]
public int enableLighting { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### enableSystemConfig

```csharp theme={null}
[DataMember]
public int enableSystemConfig { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### initACADSettings

```csharp theme={null}
[DataMember]
public int initACADSettings { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### invalidateObjectThreshold

```csharp theme={null}
[DataMember]
public int invalidateObjectThreshold { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### legendLabelsIndex

```csharp theme={null}
[DataMember]
public int legendLabelsIndex { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### maxLegendLength

```csharp theme={null}
[DataMember]
public int maxLegendLength { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### ppViewportAmbient

```csharp theme={null}
[DataMember]
public int ppViewportAmbient { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### showContactPages

```csharp theme={null}
[DataMember]
public int showContactPages { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### showMessageWindow2

```csharp theme={null}
[DataMember]
public int showMessageWindow2 { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### smallForms

```csharp theme={null}
[DataMember]
public int smallForms { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### userEditorText

```csharp theme={null}
[DataMember]
public string userEditorText { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### Update()

Updates the TD entity with the latest client data.

```csharp theme={null}
public void Update()
```

### UpdateFromTD()

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

```csharp theme={null}
public void UpdateFromTD()
```
