    

 ## On this page

  

 

 # OpenTD.PostProcessing.Dataset Class Reference

 Last update: 16.07.2025 

Client-side representation of a dataset (solution results) in a TD instance. [More...](#details)

Inheritance diagram for OpenTD.PostProcessing.Dataset:

 ![](/sites/default/files/migrate-content/opentd_net4_reference_2025_r2_1/class_open_t_d_1_1_post_processing_1_1_dataset.png)



## <a id="pub-types" name="pub-types"></a>Public Types

enum [DataSourceTypes](#a34e89fdcdd5b1856efa38049c513c5a8) {   
 [RAD](#a34e89fdcdd5b1856efa38049c513c5a8a64e4e8ffe6f9d616fae3d4723626efe4), [SF](#a34e89fdcdd5b1856efa38049c513c5a8a94a990462684a2fbb5dfc7fab1c8975d), [TEXT](#a34e89fdcdd5b1856efa38049c513c5a8a61a96ffcb251bb9bf0abf8fec19d0ea8), [HR](#a34e89fdcdd5b1856efa38049c513c5a8afd4c638da5f85d025963f99fe90b1b1a),   
 [TEXTTRANSIENT](#a34e89fdcdd5b1856efa38049c513c5a8a983d4c82d9f8d4fd48db2bb6b1e22fd4), [COMPARER](#a34e89fdcdd5b1856efa38049c513c5a8ab23d8b8048a3372fa305a881eec30811), [HEAT\_FLOW](#a34e89fdcdd5b1856efa38049c513c5a8a2583f6c605edac332b7b344169d67f94), [HEAT\_FLOW\_MAP\_PP](#a34e89fdcdd5b1856efa38049c513c5a8aefb865b04d492aef6c8eca596d1cb20e)  
 } enum [PlotMliNodes](#ac6ca7776c6b1e172caae3a584b8b39e1) {   
 [SUBSTRATE\_ONLY](#ac6ca7776c6b1e172caae3a584b8b39e1a2354700e4decbc6462d62aca7f38c2ae), [OUTERMOST\_NODES](#ac6ca7776c6b1e172caae3a584b8b39e1aa5ed9b7afe1c5a645d0292d3f0e07631), [MLI\_TOP\_SUBSTRATE\_BOT](#ac6ca7776c6b1e172caae3a584b8b39e1a49c17f7a02bf9308dfee9fa1e745513d), [SUBSTRATE\_TOP\_MLI\_BOT](#ac6ca7776c6b1e172caae3a584b8b39e1a4f06e36b54fac53e859f1a6f38506704),   
 [MLI\_ONLY\_ELSE\_GREY](#ac6ca7776c6b1e172caae3a584b8b39e1a38068be2b6f3fa2a4fc033f74d913b14)  
 } ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [Dataset](#ad1ee23a8b6646421321fa179bb089d10) () bool [TrySetCurrentTimeIndex](#ad251a136ca6e27a352629b0d40b606eb) (double time, double percentTolerance=1.0) Use this to indirectly set CurrentTimeIndex by specifying a time in the current WorkingUnits. Returns true if able to find a time in Times within the percent tolerance specified (defaults to 1%).   
 override void [Update](#ae9045b3a2ae5939ac50461d5a0349454) () Updates the TD entity with the latest client data.   
 override void [UpdateFromTD](#a971c3d71d6403c32e419402e7dd9fdd3) () Updates the client-side instance with the latest data from the TD entity.   
 override void [CreateIn](#a958e0d1c26e5233b982d0f25469fe82b) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) Creates the TD entity in the specified TD instance.   
 void [SetCurrent](#aafb0a19c841c224c85e3647267098618) () void [ShowContourPlot](#abcac3ed4b87a4f3057c3b0e75397d131) () override string [ToString](#a271eeb9878ce2a0366e686b71fbfd1e1) () virtual void [Rename](class_open_t_d_1_1_unique_name_object.xhtml#ab83691a4d2f3bd34519f9372cfc73951) (string to) Use this method to rename the client-side object and the TD item it is linked to.   
 void [SetFrom](class_open_t_d_1_1_open_t_d_object.xhtml#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](class_open_t_d_1_1_open_t_d_object.xhtml) x) void [UpdateIn](class_open_t_d_1_1_open_t_d_object.xhtml#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible.   
 ## <a id="pro-methods" name="pro-methods"></a>Protected Member Functions

override void [ProxyRename](#aaaf302298a61ee7334af8f3485f33f19) (string from, string to) virtual string [ModifyName](class_open_t_d_1_1_unique_name_object.xhtml#a1343e99cd573893ee16d36c337fde7b1) (string name) ## <a id="pro-attribs" name="pro-attribs"></a>Protected Attributes

[ITdCommander](interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.xhtml) [TdProxy](class_open_t_d_1_1_open_t_d_object.xhtml#a0da16592e6b635ca0def27b355d669b3) ## <a id="properties" name="properties"></a>Properties

string [Comment](#a60bf3e73a94e528b06a039ffc561ee4f)` [get, set]` [DataSourceTypes](#a34e89fdcdd5b1856efa38049c513c5a8) [SourceType](#aed4887701d7b888866eb967a815cd95d)` [get, set]` Read only. The type of dataset. For example, SF for Sinda results.   
 DimensionalList&lt; [Time](class_open_t_d_1_1_dimension_1_1_time.xhtml) &gt; [Times](#a3eb6d2b071ba36edfd8d5787ad9c28f7)` [get, set]` Read only. [Time](class_open_t_d_1_1_dimension_1_1_time.xhtml) values associated with each timestep/record in the dataset, in the current WorkingUnits.   
 int [CurrentTimeIndex](#a1878fa08e43334154b279c8cf91b4d18)` [get, set]` Set this to choose what timestep/record will be displayed when post-processed.   
 [PlotMliNodes](#ac6ca7776c6b1e172caae3a584b8b39e1) [PlotMLINodes](#a032a88288a88d9db63f55092a9f2fb54)` [get, set]` int [SmartColorBarCycle](#a5af4bed026b2f3ddeba74a8b1bf30180)` [get, set]` int [UseOrbit](#ae266caec046182215d90e7203011bfc7)` [get, set]` string [OrbitName](#ad280562d09fe6d9f2b7bbfbdfb64fb12)` [get, set]` Dimensional&lt; [Time](class_open_t_d_1_1_dimension_1_1_time.xhtml) &gt; [OffsetTime](#af0a3c08772d3333de62f5b51c9647d2b)` [get, set]` [ExpressionData](class_open_t_d_1_1_expression_data.xhtml) [OffsetTimeExp](#a424f7784104d25521e571c41ea624343)` [get, set]` [AdditionalDatasetInfoHolder](class_open_t_d_1_1_post_processing_1_1_additional_dataset_info_holder.xhtml) [AdditionalInfo](#a07b2380e53dbaa9fba9e16a18bc2b5c9)` [get, set]` Type-specific information about the dataset.   
 string [Pathname](#aeed263b1438305bf653fb8d7d458da20)` [get]` string [Name](class_open_t_d_1_1_unique_name_object.xhtml#a81ee04aec6314a6dd404826b41564162)` [get]` This object is uniquely-identified by this name.   
 string [\_n](class_open_t_d_1_1_unique_name_object.xhtml#a4546becfb33773b2b9d0ae2264c9dd2d)` [get, set]` Do not use.   
 <a id="details" name="details"></a>## Detailed Description

Client-side representation of a dataset (solution results) in a TD instance.



## Member Enumeration Documentation

<a id="a34e89fdcdd5b1856efa38049c513c5a8" name="a34e89fdcdd5b1856efa38049c513c5a8"></a>## [◆ ](#a34e89fdcdd5b1856efa38049c513c5a8)DataSourceTypes

 enum [OpenTD.PostProcessing.Dataset.DataSourceTypes](#a34e89fdcdd5b1856efa38049c513c5a8)

Enumerator<a id="a34e89fdcdd5b1856efa38049c513c5a8a64e4e8ffe6f9d616fae3d4723626efe4" name="a34e89fdcdd5b1856efa38049c513c5a8a64e4e8ffe6f9d616fae3d4723626efe4"></a>RAD <a id="a34e89fdcdd5b1856efa38049c513c5a8a94a990462684a2fbb5dfc7fab1c8975d" name="a34e89fdcdd5b1856efa38049c513c5a8a94a990462684a2fbb5dfc7fab1c8975d"></a>SF <a id="a34e89fdcdd5b1856efa38049c513c5a8a61a96ffcb251bb9bf0abf8fec19d0ea8" name="a34e89fdcdd5b1856efa38049c513c5a8a61a96ffcb251bb9bf0abf8fec19d0ea8"></a>TEXT <a id="a34e89fdcdd5b1856efa38049c513c5a8afd4c638da5f85d025963f99fe90b1b1a" name="a34e89fdcdd5b1856efa38049c513c5a8afd4c638da5f85d025963f99fe90b1b1a"></a>HR <a id="a34e89fdcdd5b1856efa38049c513c5a8a983d4c82d9f8d4fd48db2bb6b1e22fd4" name="a34e89fdcdd5b1856efa38049c513c5a8a983d4c82d9f8d4fd48db2bb6b1e22fd4"></a>TEXTTRANSIENT <a id="a34e89fdcdd5b1856efa38049c513c5a8ab23d8b8048a3372fa305a881eec30811" name="a34e89fdcdd5b1856efa38049c513c5a8ab23d8b8048a3372fa305a881eec30811"></a>COMPARER <a id="a34e89fdcdd5b1856efa38049c513c5a8a2583f6c605edac332b7b344169d67f94" name="a34e89fdcdd5b1856efa38049c513c5a8a2583f6c605edac332b7b344169d67f94"></a>HEAT\_FLOW <a id="a34e89fdcdd5b1856efa38049c513c5a8aefb865b04d492aef6c8eca596d1cb20e" name="a34e89fdcdd5b1856efa38049c513c5a8aefb865b04d492aef6c8eca596d1cb20e"></a>HEAT\_FLOW\_MAP\_PP 



<a id="ac6ca7776c6b1e172caae3a584b8b39e1" name="ac6ca7776c6b1e172caae3a584b8b39e1"></a>## [◆ ](#ac6ca7776c6b1e172caae3a584b8b39e1)PlotMliNodes

 enum [OpenTD.PostProcessing.Dataset.PlotMliNodes](#ac6ca7776c6b1e172caae3a584b8b39e1)

Enumerator<a id="ac6ca7776c6b1e172caae3a584b8b39e1a2354700e4decbc6462d62aca7f38c2ae" name="ac6ca7776c6b1e172caae3a584b8b39e1a2354700e4decbc6462d62aca7f38c2ae"></a>SUBSTRATE\_ONLY <a id="ac6ca7776c6b1e172caae3a584b8b39e1aa5ed9b7afe1c5a645d0292d3f0e07631" name="ac6ca7776c6b1e172caae3a584b8b39e1aa5ed9b7afe1c5a645d0292d3f0e07631"></a>OUTERMOST\_NODES <a id="ac6ca7776c6b1e172caae3a584b8b39e1a49c17f7a02bf9308dfee9fa1e745513d" name="ac6ca7776c6b1e172caae3a584b8b39e1a49c17f7a02bf9308dfee9fa1e745513d"></a>MLI\_TOP\_SUBSTRATE\_BOT <a id="ac6ca7776c6b1e172caae3a584b8b39e1a4f06e36b54fac53e859f1a6f38506704" name="ac6ca7776c6b1e172caae3a584b8b39e1a4f06e36b54fac53e859f1a6f38506704"></a>SUBSTRATE\_TOP\_MLI\_BOT <a id="ac6ca7776c6b1e172caae3a584b8b39e1a38068be2b6f3fa2a4fc033f74d913b14" name="ac6ca7776c6b1e172caae3a584b8b39e1a38068be2b6f3fa2a4fc033f74d913b14"></a>MLI\_ONLY\_ELSE\_GREY 



## Constructor &amp; Destructor Documentation

<a id="ad1ee23a8b6646421321fa179bb089d10" name="ad1ee23a8b6646421321fa179bb089d10"></a>## [◆ ](#ad1ee23a8b6646421321fa179bb089d10)Dataset()

 OpenTD.PostProcessing.Dataset.Dataset  ( )   inline 





## Member Function Documentation

<a id="a958e0d1c26e5233b982d0f25469fe82b" name="a958e0d1c26e5233b982d0f25469fe82b"></a>## [◆ ](#a958e0d1c26e5233b982d0f25469fe82b)CreateIn()

 override void OpenTD.PostProcessing.Dataset.CreateIn  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inline 

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](interface_open_t_d_1_1_i_reassignable.xhtml#a94cbc52d002a10e44f5dc2daaf9c87db).





<a id="a1343e99cd573893ee16d36c337fde7b1" name="a1343e99cd573893ee16d36c337fde7b1"></a>## [◆ ](#a1343e99cd573893ee16d36c337fde7b1)ModifyName()

 virtual string OpenTD.UniqueNameObject.ModifyName  ( string *name*)   inlineprotectedvirtualinherited 

Reimplemented in [OpenTD.SubmodelData](class_open_t_d_1_1_submodel_data.xhtml#a607b0ad2b1e47186137ea8149940f481).





<a id="aaaf302298a61ee7334af8f3485f33f19" name="aaaf302298a61ee7334af8f3485f33f19"></a>## [◆ ](#aaaf302298a61ee7334af8f3485f33f19)ProxyRename()

 override void OpenTD.PostProcessing.Dataset.ProxyRename  ( string *from*,    string *to* )  inlineprotected 





<a id="ab83691a4d2f3bd34519f9372cfc73951" name="ab83691a4d2f3bd34519f9372cfc73951"></a>## [◆ ](#ab83691a4d2f3bd34519f9372cfc73951)Rename()

 virtual void OpenTD.UniqueNameObject.Rename  ( string *to*)   inlinevirtualinherited 

Use this method to rename the client-side object and the TD item it is linked to.





<a id="aafb0a19c841c224c85e3647267098618" name="aafb0a19c841c224c85e3647267098618"></a>## [◆ ](#aafb0a19c841c224c85e3647267098618)SetCurrent()

 void OpenTD.PostProcessing.Dataset.SetCurrent  ( )   inline 





<a id="aa2e0aa2793e95a56891ef59fb4843ca2" name="aa2e0aa2793e95a56891ef59fb4843ca2"></a>## [◆ ](#aa2e0aa2793e95a56891ef59fb4843ca2)SetFrom()

 void OpenTD.OpenTDObject.SetFrom  ( [OpenTDObject](class_open_t_d_1_1_open_t_d_object.xhtml) *x*)   inlineinherited 





<a id="abcac3ed4b87a4f3057c3b0e75397d131" name="abcac3ed4b87a4f3057c3b0e75397d131"></a>## [◆ ](#abcac3ed4b87a4f3057c3b0e75397d131)ShowContourPlot()

 void OpenTD.PostProcessing.Dataset.ShowContourPlot  ( )   inline 





<a id="a271eeb9878ce2a0366e686b71fbfd1e1" name="a271eeb9878ce2a0366e686b71fbfd1e1"></a>## [◆ ](#a271eeb9878ce2a0366e686b71fbfd1e1)ToString()

 override string OpenTD.PostProcessing.Dataset.ToString  ( )   inline 





<a id="ad251a136ca6e27a352629b0d40b606eb" name="ad251a136ca6e27a352629b0d40b606eb"></a>## [◆ ](#ad251a136ca6e27a352629b0d40b606eb)TrySetCurrentTimeIndex()

 bool OpenTD.PostProcessing.Dataset.TrySetCurrentTimeIndex  ( double *time*,    double *percentTolerance* = 1::0 )  inline 

Use this to indirectly set CurrentTimeIndex by specifying a time in the current WorkingUnits. Returns true if able to find a time in Times within the percent tolerance specified (defaults to 1%).

Parameters timepercentToleranceReturns



<a id="ae9045b3a2ae5939ac50461d5a0349454" name="ae9045b3a2ae5939ac50461d5a0349454"></a>## [◆ ](#ae9045b3a2ae5939ac50461d5a0349454)Update()

 override void OpenTD.PostProcessing.Dataset.Update  ( )   inline 

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](interface_open_t_d_1_1_i_updatable.xhtml#a162ef7c717f51047a1d45c7df4282470).





<a id="a971c3d71d6403c32e419402e7dd9fdd3" name="a971c3d71d6403c32e419402e7dd9fdd3"></a>## [◆ ](#a971c3d71d6403c32e419402e7dd9fdd3)UpdateFromTD()

 override void OpenTD.PostProcessing.Dataset.UpdateFromTD  ( )   inline 

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

Implements [OpenTD.IUpdatable](interface_open_t_d_1_1_i_updatable.xhtml#a47f3096415cfb5694fd822df8a1eceb0).





<a id="a1e5228ce309c9a85ec09e8119318024d" name="a1e5228ce309c9a85ec09e8119318024d"></a>## [◆ ](#a1e5228ce309c9a85ec09e8119318024d)UpdateIn()

 void OpenTD.OpenTDObject.UpdateIn  ( [ThermalDesktop](class_open_t_d_1_1_thermal_desktop.xhtml) *td*)   inlineinherited 

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements [OpenTD.IReassignable](interface_open_t_d_1_1_i_reassignable.xhtml#a90dffde7dd442e9d940f9e5c5fabde14).





## Member Data Documentation

<a id="a0da16592e6b635ca0def27b355d669b3" name="a0da16592e6b635ca0def27b355d669b3"></a>## [◆ ](#a0da16592e6b635ca0def27b355d669b3)TdProxy

 [ITdCommander](interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.xhtml) OpenTD.OpenTDObject.TdProxy  protectedinherited 





## Property Documentation

<a id="a4546becfb33773b2b9d0ae2264c9dd2d" name="a4546becfb33773b2b9d0ae2264c9dd2d"></a>## [◆ ](#a4546becfb33773b2b9d0ae2264c9dd2d)\_n

 string OpenTD.UniqueNameObject.\_n  getsetinherited 

Do not use.





<a id="a07b2380e53dbaa9fba9e16a18bc2b5c9" name="a07b2380e53dbaa9fba9e16a18bc2b5c9"></a>## [◆ ](#a07b2380e53dbaa9fba9e16a18bc2b5c9)AdditionalInfo

 [AdditionalDatasetInfoHolder](class_open_t_d_1_1_post_processing_1_1_additional_dataset_info_holder.xhtml) OpenTD.PostProcessing.Dataset.AdditionalInfo  getset 

Type-specific information about the dataset.





<a id="a60bf3e73a94e528b06a039ffc561ee4f" name="a60bf3e73a94e528b06a039ffc561ee4f"></a>## [◆ ](#a60bf3e73a94e528b06a039ffc561ee4f)Comment

 string OpenTD.PostProcessing.Dataset.Comment  getset 





<a id="a1878fa08e43334154b279c8cf91b4d18" name="a1878fa08e43334154b279c8cf91b4d18"></a>## [◆ ](#a1878fa08e43334154b279c8cf91b4d18)CurrentTimeIndex

 int OpenTD.PostProcessing.Dataset.CurrentTimeIndex  getset 

Set this to choose what timestep/record will be displayed when post-processed.





<a id="a81ee04aec6314a6dd404826b41564162" name="a81ee04aec6314a6dd404826b41564162"></a>## [◆ ](#a81ee04aec6314a6dd404826b41564162)Name

 string OpenTD.UniqueNameObject.Name  getinherited 

This object is uniquely-identified by this name.





<a id="af0a3c08772d3333de62f5b51c9647d2b" name="af0a3c08772d3333de62f5b51c9647d2b"></a>## [◆ ](#af0a3c08772d3333de62f5b51c9647d2b)OffsetTime

 Dimensional&lt;[Time](class_open_t_d_1_1_dimension_1_1_time.xhtml)&gt; OpenTD.PostProcessing.Dataset.OffsetTime  getset 





<a id="a424f7784104d25521e571c41ea624343" name="a424f7784104d25521e571c41ea624343"></a>## [◆ ](#a424f7784104d25521e571c41ea624343)OffsetTimeExp

 [ExpressionData](class_open_t_d_1_1_expression_data.xhtml) OpenTD.PostProcessing.Dataset.OffsetTimeExp  getset 





<a id="ad280562d09fe6d9f2b7bbfbdfb64fb12" name="ad280562d09fe6d9f2b7bbfbdfb64fb12"></a>## [◆ ](#ad280562d09fe6d9f2b7bbfbdfb64fb12)OrbitName

 string OpenTD.PostProcessing.Dataset.OrbitName  getset 





<a id="aeed263b1438305bf653fb8d7d458da20" name="aeed263b1438305bf653fb8d7d458da20"></a>## [◆ ](#aeed263b1438305bf653fb8d7d458da20)Pathname

 string OpenTD.PostProcessing.Dataset.Pathname  get 





<a id="a032a88288a88d9db63f55092a9f2fb54" name="a032a88288a88d9db63f55092a9f2fb54"></a>## [◆ ](#a032a88288a88d9db63f55092a9f2fb54)PlotMLINodes

 [PlotMliNodes](#ac6ca7776c6b1e172caae3a584b8b39e1) OpenTD.PostProcessing.Dataset.PlotMLINodes  getset 





<a id="a5af4bed026b2f3ddeba74a8b1bf30180" name="a5af4bed026b2f3ddeba74a8b1bf30180"></a>## [◆ ](#a5af4bed026b2f3ddeba74a8b1bf30180)SmartColorBarCycle

 int OpenTD.PostProcessing.Dataset.SmartColorBarCycle  getset 





<a id="aed4887701d7b888866eb967a815cd95d" name="aed4887701d7b888866eb967a815cd95d"></a>## [◆ ](#aed4887701d7b888866eb967a815cd95d)SourceType

 [DataSourceTypes](#a34e89fdcdd5b1856efa38049c513c5a8) OpenTD.PostProcessing.Dataset.SourceType  getset 

Read only. The type of dataset. For example, SF for Sinda results.





<a id="a3eb6d2b071ba36edfd8d5787ad9c28f7" name="a3eb6d2b071ba36edfd8d5787ad9c28f7"></a>## [◆ ](#a3eb6d2b071ba36edfd8d5787ad9c28f7)Times

 DimensionalList&lt;[Time](class_open_t_d_1_1_dimension_1_1_time.xhtml)&gt; OpenTD.PostProcessing.Dataset.Times  getset 

Read only. [Time](class_open_t_d_1_1_dimension_1_1_time.xhtml) values associated with each timestep/record in the dataset, in the current WorkingUnits.





<a id="ae266caec046182215d90e7203011bfc7" name="ae266caec046182215d90e7203011bfc7"></a>## [◆ ](#ae266caec046182215d90e7203011bfc7)UseOrbit

 int OpenTD.PostProcessing.Dataset.UseOrbit  getset 





---

The documentation for this class was generated from the following file:- C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/PostProcessing/**Dataset.cs**