    

 ## On this page

  

 

 # Class LogicObjects

 Last update: 09.03.2026 

Namespace: [OpenTD](OpenTD.md)  
Assembly: OpenTD.dll

Use to get all logic objects within a TD instance.

```csharp
[DataContract]
public class LogicObjects

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [LogicObjects](OpenTD.LogicObjects.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

### LogicObjects()

```csharp
public LogicObjects()

```

### LogicObjects(ThermalDesktop, bool)

```csharp
public LogicObjects(ThermalDesktop tdInstance, bool searchXREFS = false)

```

#### Parameters

`tdInstance` [ThermalDesktop](OpenTD.ThermalDesktop.md)

`searchXREFS` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Properties

### ArrayInterpolations

```csharp
[DataMember]
public List<ArrayInterpolation> ArrayInterpolations { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[ArrayInterpolation](OpenTD.ArrayInterpolation.md)&gt;

### FortranArrays

```csharp
[DataMember]
public List<UDFACollection> FortranArrays { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[UDFACollection](OpenTD.UDFACollection.md)&gt;

### PIDs

```csharp
[DataMember]
public List<PID> PIDs { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[PID](OpenTD.PID.md)&gt;

### TD

```csharp
public ThermalDesktop TD { get; set; }

```

#### Property Value

[ThermalDesktop](OpenTD.ThermalDesktop.md)

### UserArrays

```csharp
[DataMember]
public List<UserArray> UserArrays { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[UserArray](OpenTD.UserArray.md)&gt;

### UserCodes

```csharp
[DataMember]
public List<UserCode> UserCodes { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[UserCode](OpenTD.UserCode.md)&gt;

## Methods

### UpdateFromTD(bool)

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

```csharp
public void UpdateFromTD(bool searchXREFs = false)

```

#### Parameters

`searchXREFs` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)