Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Measure Class Reference

Last update: 16.07.2025

Client-side representation of a TD Measure object. More...

Inheritance diagram for OpenTD.Measure:
OpenTD.TdDbEntityDataOpenTD.ITdDerivedOpenTD.DbObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignable

Public Member Functions

 Measure ()
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
void SetFrom (TdDbEntityData x)
 
void SetFrom (DbObject x)
 
void SetFrom (OpenTDObject x)
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 

Static Public Member Functions

static bool operator== (DbObject first, DbObject second)
 
static bool operator!= (DbObject first, DbObject second)
 

Protected Member Functions

string ToString (string Submodel, string Id, string Comment)
 
string ToString (string Submodel, int Id, string Comment)
 

Protected Attributes

ITdCommander TdProxy
 

Properties

string Comment [get, set]
 
Point3d Origin [get, set]
 
string Name [get, set]
 
Dimensional< ModelLengthSize [get, set]
 
bool OutputRegister [get, set]
 
string RegisterName [get, set]
 
int MapOption [get, set]
 
string GroupName [get, set]
 
bool OutputNode [get, set]
 
string Submodel [get, set]
 
int NodeId [get, set]
 
bool UseContactAndMass [get, set]
 
Dimensional< ConductanceCond [get, set]
 
ExpressionData CondExp [get, set]
 
Dimensional< ThermalMassThermalMass [get, set]
 
ExpressionData ThermalMassExp [get, set]
 
bool UseMLI [get, set]
 
int Enabled [get, set]
 
ExpressionData EnabledExp [get, set]
 
bool DrawName [get, set]
 
bool AllowMappingToXrefDomain [get, set]
 
DimensionlessVector3d ZAxis [get, set]
 
Vector3d _ZAxis [get, set]
 Do not use.
 
string Layer [get, set]
 
int ColorIndex [get, set]
 Specifies a color. See the AutoCAD Layer Properties Manager for valid values.
 
string Handle [get, set]
 
string TypeName [get, set]
 
string TdClassName [get]
 

Detailed Description

Client-side representation of a TD Measure object.

Constructor & Destructor Documentation

◆ Measure()

OpenTD.Measure.Measure ( )
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.Measure.CreateIn ( ThermalDesktop td)
inline

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ Equals()

override bool OpenTD.DbObject.Equals ( object obj)
inlineinherited

◆ GetHashCode()

override int OpenTD.DbObject.GetHashCode ( )
inlineinherited

◆ operator!=()

static bool OpenTD.DbObject.operator!= ( DbObject first,
DbObject second )
inlinestaticinherited

◆ operator==()

static bool OpenTD.DbObject.operator== ( DbObject first,
DbObject second )
inlinestaticinherited

◆ SetFrom() [1/3]

void OpenTD.DbObject.SetFrom ( DbObject x)
inlineinherited

◆ SetFrom() [2/3]

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ SetFrom() [3/3]

void OpenTD.TdDbEntityData.SetFrom ( TdDbEntityData x)
inlineinherited

◆ ToString() [1/3]

override string OpenTD.TdDbEntityData.ToString ( )
inlineinherited

◆ ToString() [2/3]

string OpenTD.TdDbEntityData.ToString ( string Submodel,
int Id,
string Comment )
inlineprotectedinherited

◆ ToString() [3/3]

string OpenTD.TdDbEntityData.ToString ( string Submodel,
string Id,
string Comment )
inlineprotectedinherited

◆ Update()

override void OpenTD.Measure.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.Measure.UpdateFromTD ( )
inline

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

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

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ _ZAxis

Vector3d OpenTD.Measure._ZAxis
getset

Do not use.

◆ AllowMappingToXrefDomain

bool OpenTD.Measure.AllowMappingToXrefDomain
getset

◆ ColorIndex

int OpenTD.TdDbEntityData.ColorIndex
getsetinherited

Specifies a color. See the AutoCAD Layer Properties Manager for valid values.

◆ Comment

string OpenTD.Measure.Comment
getset

◆ Cond

Dimensional<Conductance> OpenTD.Measure.Cond
getset

◆ CondExp

ExpressionData OpenTD.Measure.CondExp
getset

◆ DrawName

bool OpenTD.Measure.DrawName
getset

◆ Enabled

int OpenTD.Measure.Enabled
getset

◆ EnabledExp

ExpressionData OpenTD.Measure.EnabledExp
getset

◆ GroupName

string OpenTD.Measure.GroupName
getset

◆ Handle

string OpenTD.DbObject.Handle
getsetinherited

◆ Layer

string OpenTD.TdDbEntityData.Layer
getsetinherited

◆ MapOption

int OpenTD.Measure.MapOption
getset

◆ Name

string OpenTD.Measure.Name
getset

◆ NodeId

int OpenTD.Measure.NodeId
getset

◆ Origin

Point3d OpenTD.Measure.Origin
getset

◆ OutputNode

bool OpenTD.Measure.OutputNode
getset

◆ OutputRegister

bool OpenTD.Measure.OutputRegister
getset

◆ RegisterName

string OpenTD.Measure.RegisterName
getset

◆ Size

Dimensional<ModelLength> OpenTD.Measure.Size
getset

◆ Submodel

string OpenTD.Measure.Submodel
getset

◆ TdClassName

string OpenTD.ITdDerived.TdClassName
getinherited

◆ ThermalMass

Dimensional<ThermalMass> OpenTD.Measure.ThermalMass
getset

◆ ThermalMassExp

ExpressionData OpenTD.Measure.ThermalMassExp
getset

◆ TypeName

string OpenTD.DbObject.TypeName
getsetinherited

◆ UseContactAndMass

bool OpenTD.Measure.UseContactAndMass
getset

◆ UseMLI

bool OpenTD.Measure.UseMLI
getset

◆ ZAxis

DimensionlessVector3d OpenTD.Measure.ZAxis
getset

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/Measure.cs

Connect with Ansys