Skip to main content

OpenTD reference 2026 R1

Class ThermalDesktop

Last update: 06.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

Represents one instance of Thermal Desktop. This is the top-level class for interacting with OpenTD.

public class ThermalDesktop : ITdConsole

Inheritance

object ← ThermalDesktop

Implements

ITdConsole

Inherited Members

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

Extension Methods

ThermalDesktopExtensions.CaptureGraphicsArea(ThermalDesktop), ThermalDesktopExtensions.GetViewNames(ThermalDesktop), ThermalDesktopExtensions.MergeNodes(ThermalDesktop, MergeNodesOptionsData), ThermalDesktopExtensions.Quit(ThermalDesktop)

Constructors

ThermalDesktop(string)

public ThermalDesktop(string dwgPathname)

Parameters

dwgPathname string

ThermalDesktop()

public ThermalDesktop()

Properties

ConnectConfig

Controls how Connect() will try to connect to TD.

public TdConnectConfig ConnectConfig { get; set; }

Property Value

TdConnectConfig

DatasetManager

Use the DatasetManager to access TD's "Postprocessing Datasets" dialog. Use it to control what data is displayed as a contour plot in TD, for example.

public DatasetManager DatasetManager { get; }

Property Value

DatasetManager

See Also

DatasetManager

ProgressBar

Use to show progress of a procedure in TD.

public ProgressBar ProgressBar { get; }

Property Value

ProgressBar

See Also

ProgressBar

RadiationAnalysisGroupManager

The radiation analysis group manager.

public RadiationAnalysisGroupManager RadiationAnalysisGroupManager { get; }

Property Value

RadiationAnalysisGroupManager

See Also

RadiationAnalysisGroupManager

ThermoPropAliasManager

The thermophysical property alias manager.

public ThermoPropAliasManager ThermoPropAliasManager { get; }

Property Value

ThermoPropAliasManager

See Also

ThermoPropAliasManager

Methods

AddNodeCorrespondence(NameData, NameData)

Adds TRASYS-style node correspondence between SINDA and RadCAD nodes. Use SetNodeCorrespondenceState to turn node correspondence on or off. Use SetNodeCorrespondenceMap to set the entire map in one step.

public void AddNodeCorrespondence(NameData SindaNode, NameData RadcadNode)

Parameters

SindaNode NameData

The sinda node.

RadcadNode NameData

The radcad node.

See Also

ThermalDesktop.SetNodeCorrespondenceState(bool), ThermalDesktop.SetNodeCorrespondenceMap(Dictionary<string, List<string>>)

BringToFront()

Brings the AutoCAD window to the foreground.

public void BringToFront()

ClearSelection()

public void ClearSelection()

Connect()

Connect to an instance of TD using the options specified in ConnectConfig.

public void Connect()

See Also

ThermalDesktop.ConnectConfig

Connect(TdConnectConfig)

Set ConnectConfig to the supplied TdConnectConfig and call Connect().

public void Connect(TdConnectConfig connectConfig)

Parameters

connectConfig TdConnectConfig

Connect(string)

Set ConnectConfig.DwgPathname to the supplied path and call Connect().

public void Connect(string dwgPathname)

Parameters

dwgPathname string

ConnectAsync()

Connect to an instance of TD asynchronously using the options specified in ConnectConfig.

public Task ConnectAsync()

Returns

Task

See Also

ThermalDesktop.ConnectConfig

ConvertFDtoFE(IEnumerable<string>)

Convert FD entities (with edge nodes) to FE meshes

public void ConvertFDtoFE(IEnumerable<string> handles)

Parameters

handles IEnumerable<string>

CreateAcEllipse()

Creates a new Ellipse in this Thermal Desktop instance.

public AcEllipse CreateAcEllipse()

Returns

AcEllipse

See Also

AcEllipse

CreateArc()

Creates a new Arc in this Thermal Desktop instance.

public Arc CreateArc()

Returns

Arc

See Also

Arc

CreateArrayInterpolation(IEnumerable<double>, IEnumerable<double>, string)

Creates a new ArrayInterpolation using defaults from this TD instance.

public ArrayInterpolation CreateArrayInterpolation(IEnumerable<double> xValues, IEnumerable<double> yValues, string outputSymbol)

Parameters

xValues IEnumerable<double>

yValues IEnumerable<double>

outputSymbol string

Returns

ArrayInterpolation

See Also

UserArray

CreateAssembly(Point3d)

Creates a new Assembly using defaults from this TD instance.

public Assembly CreateAssembly(Point3d origin)

Parameters

origin Point3d

Returns

Assembly

See Also

Assembly

CreateCappmp(Connection, Connection, Connection)

Creates a new cappmp using defaults from this TD instance.

public Cappmp CreateCappmp(Connection fromLump, Connection toLump, Connection Node = null)

Parameters

fromLump Connection

toLump Connection

Node Connection

Returns

Cappmp

See Also

Cappmp

CreateCaseSet(string, string, string)

Creates a new Case Set using defaults from this TD instance.

public CaseSet CreateCaseSet(string name, string groupName = "", string sindaFilenames = "")

Parameters

name string

groupName string

sindaFilenames string

Returns

CaseSet

See Also

CaseSet

CreateCircle()

Creates a new Circle in this Thermal Desktop instance.

public Circle CreateCircle()

Returns

Circle

See Also

Circle

CreateCompartment(List<List<Connection>>, List<List<Connection>>)

Creates a new Compartment using defaults from this TD instance.

public Compartment CreateCompartment(List<List<Connection>> volumes, List<List<Connection>> surfaces = null)

Parameters

volumes List<List<Connection>>

surfaces List<List<Connection>>

Returns

Compartment

See Also

Compartment

CreateConductor(Connection, Connection)

Creates a new Conductor using defaults from this TD instance.

public Conductor CreateConductor(Connection from, Connection to)

Parameters

from Connection

to Connection

Returns

Conductor

See Also

Conductor

CreateConductor(Connection, IEnumerable<Connection>)

Creates a new Conductor using defaults from this TD instance.

public Conductor CreateConductor(Connection from, IEnumerable<Connection> to)

Parameters

from Connection

to IEnumerable<Connection>

Returns

Conductor

See Also

Conductor

CreateCone()

Creates a new Cone using defaults from this TD instance.

public Cone CreateCone()

Returns

Cone

See Also

Cone

CreateContactor(IEnumerable<Connection>, IEnumerable<Connection>)

Creates a new Contactor using defaults from this TD instance.

public Contactor CreateContactor(IEnumerable<Connection> from, IEnumerable<Connection> to)

Parameters

from IEnumerable<Connection>

to IEnumerable<Connection>

Returns

Contactor

See Also

Contactor

CreateContactor(Connection, IEnumerable<Connection>)

Creates a new Contactor using defaults from this TD instance.

public Contactor CreateContactor(Connection from, IEnumerable<Connection> to)

Parameters

from Connection

to IEnumerable<Connection>

Returns

Contactor

See Also

Contactor

CreateContactor(IEnumerable<Connection>, Connection)

Creates a new Contactor using defaults from this TD instance.

public Contactor CreateContactor(IEnumerable<Connection> from, Connection to)

Parameters

from IEnumerable<Connection>

to Connection

Returns

Contactor

See Also

Contactor

CreateContactor(Connection, Connection)

Creates a new Contactor using defaults from this TD instance.

public Contactor CreateContactor(Connection from, Connection to)

Parameters

from Connection

to Connection

Returns

Contactor

See Also

Contactor

CreateCylinder()

Creates a new Cylinder using defaults from this TD instance.

public Cylinder CreateCylinder()

Returns

Cylinder

See Also

Cylinder

CreateDbIterator(bool, bool, bool, bool, bool)

Creates an iterator for walking the AutoCAD entity database.

public IDbIterator CreateDbIterator(bool forward = true, bool modelSpace = true, bool xRefs = false, bool paperSpace = false, bool tdOnly = true)

Parameters

forward bool

if set to true iterates forward.

modelSpace bool

if set to true iterates through model space.

xRefs bool

if set to true iterates through XREF's.

paperSpace bool

if set to true iterates through paper space.

tdOnly bool

Returns

IDbIterator

IDbIterator.

CreateDisk()

Creates a new Disk using defaults from this TD instance.

public Disk CreateDisk()

Returns

Disk

See Also

Disk

CreateEllipse()

Creates a new Ellipse using defaults from this TD instance.

public Ellipse CreateEllipse()

Returns

Ellipse

See Also

Ellipse

CreateEllipsoid()

Creates a new Ellipsoid using defaults from this TD instance.

public Ellipsoid CreateEllipsoid()

Returns

Ellipsoid

See Also

Ellipsoid

CreateEllipticCone()

Creates a new EllipticCone using defaults from this TD instance.

public EllipticCone CreateEllipticCone()

Returns

EllipticCone

See Also

EllipticCone

CreateEllipticCylinder()

Creates a new EllipticCylinder using defaults from this TD instance.

public EllipticCylinder CreateEllipticCylinder()

Returns

EllipticCylinder

See Also

EllipticCylinder

CreateFEMeshImporter(string, bool)

Creates a new FEMeshImporter.

public FEMeshImporter CreateFEMeshImporter(string name, bool useCurrentUCS)

Parameters

name string

useCurrentUCS bool

Returns

FEMeshImporter

See Also

FEMeshImporter

CreateFTie(Connection, Connection, Connection, FTieTypes)

Creates a new FTie using defaults from this TD instance.

public FTie CreateFTie(Connection AttachedLumpC, Connection AttachedLumpD, Connection AttachedPath, RcFTieData.FTieTypes FTieType = FTieTypes.USERFTIE)

Parameters

AttachedLumpC Connection

AttachedLumpD Connection

AttachedPath Connection

FTieType RcFTieData.FTieTypes

Returns

FTie

See Also

FTie

CreateFkLocator(string, Point3d)

Creates a new FkLocator using defaults from this TD instance.

public FkLocator CreateFkLocator(string attachedHandle, Point3d origin)

Parameters

attachedHandle string

origin Point3d

Returns

FkLocator

See Also

FkLocator

CreateFluidSubmodel(string)

Creates a new fluid submodel using defaults from this TD instance.

public FluidSubmodel CreateFluidSubmodel(string name)

Parameters

name string

Returns

FluidSubmodel

See Also

FluidSubmodel

CreateHeatLoad(IEnumerable<Connection>)

Creates a new HeatLoad using defaults from this TD instance.

public HeatLoad CreateHeatLoad(IEnumerable<Connection> applyConnections)

Parameters

applyConnections IEnumerable<Connection>

Returns

HeatLoad

See Also

HeatLoad

CreateHeatLoad(Connection)

Creates a new HeatLoad using defaults from this TD instance.

public HeatLoad CreateHeatLoad(Connection applyConnection)

Parameters

applyConnection Connection

Returns

HeatLoad

See Also

HeatLoad

CreateHeater(IEnumerable<Connection>, IEnumerable<Connection>)

Creates a new Heater using defaults from this TD instance.

public Heater CreateHeater(IEnumerable<Connection> applyConnections, IEnumerable<Connection> sensorConnections)

Parameters

applyConnections IEnumerable<Connection>

sensorConnections IEnumerable<Connection>

Returns

Heater

See Also

Heater

CreateHelix()

Creates a new Helix in this Thermal Desktop instance.

public Helix CreateHelix()

Returns

Helix

See Also

Helix

CreateIFace(Connection, Connection)

Creates a new IFace using defaults from this TD instance.

public IFace CreateIFace(Connection TankA, Connection TankB)

Parameters

TankA Connection

TankB Connection

Returns

IFace

See Also

IFace

CreateLayer(string)

Creates a new Layer using defaults from this TD instance.

public Layer CreateLayer(string name)

Parameters

name string

Returns

Layer

See Also

Layer

CreateLine(Point3d, Point3d)

Creates a new Line in this TD instance.

public Line CreateLine(Point3d pointA, Point3d pointB)

Parameters

pointA Point3d

pointB Point3d

Returns

Line

See Also

Line

CreateLinearBrick(IEnumerable<string>)

Creates a new LinearBrick using defaults from this TD instance.

public LinearBrick CreateLinearBrick(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

LinearBrick

See Also

LinearBrick

CreateLinearPyramid(IEnumerable<string>)

Creates a new LinearPyramid using defaults from this TD instance.

public LinearPyramid CreateLinearPyramid(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

LinearPyramid

See Also

LinearPyramid

CreateLinearQuad(IEnumerable<string>)

Creates a new LinearQuad using defaults from this TD instance.

public LinearQuad CreateLinearQuad(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

LinearQuad

See Also

LinearQuad

CreateLinearTet(IEnumerable<string>)

Creates a new LinearTet using defaults from this TD instance.

public LinearTet CreateLinearTet(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

LinearTet

See Also

LinearTet

CreateLinearTri(IEnumerable<string>)

Creates a new LinearTri using defaults from this TD instance.

public LinearTri CreateLinearTri(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

LinearTri

See Also

LinearTri

CreateLinearWedge(IEnumerable<string>)

Creates a new LinearWedge using defaults from this TD instance.

public LinearWedge CreateLinearWedge(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

LinearWedge

See Also

LinearWedge

CreateLump()

Creates a new Lump using defaults from this TD instance.

public Lump CreateLump()

Returns

Lump

See Also

Lump

CreateMaterialStack(string)

Creates a new Material Stack using defaults from this TD instance.

public MaterialStack CreateMaterialStack(string caseSensitiveName)

Parameters

caseSensitiveName string

Returns

MaterialStack

See Also

MaterialStack

CreateMeasure()

Creates a new Measure using defaults from this TD instance.

public Measure CreateMeasure()

Returns

Measure

See Also

Measure

CreateMeshFD(IEnumerable<Face>, IEnumerable<Point3d>)

Creates a new MeshFD using defaults from this TD instance.

public MeshFD CreateMeshFD(IEnumerable<Face> faces, IEnumerable<Point3d> vertices)

Parameters

faces IEnumerable<Face>

vertices IEnumerable<Point3d>

Returns

MeshFD

See Also

MeshFD

CreateNode()

Creates a new Node using defaults from this TD instance.

public Node CreateNode()

Returns

Node

See Also

Node

CreateNode(Point3d)

Creates a new Node with a given origin using defaults from this TD instance.

public Node CreateNode(Point3d origin)

Parameters

origin Point3d

Returns

Node

See Also

Node, Point3d

CreateOffsetParaboloid()

Creates a new OffsetParaboloid using defaults from this TD instance.

public OffsetParaboloid CreateOffsetParaboloid()

Returns

OffsetParaboloid

See Also

OffsetParaboloid

CreateOgive()

Creates a new Ogive using defaults from this TD instance.

public Ogive CreateOgive()

Returns

Ogive

See Also

Ogive

CreateOpticalProps(string)

Creates a new optical property using defaults from this TD instance.

public OpticalProps CreateOpticalProps(string caseSensitiveName)

Parameters

caseSensitiveName string

Returns

OpticalProps

See Also

OpticalProps

CreateOrbit(string)

Creates a new orbit using defaults from this TD instance.

public Orbit CreateOrbit(string name)

Parameters

name string

Returns

Orbit

See Also

Orbit

CreatePID()

Creates a new PID using defaults from this TD instance.

public PID CreatePID()

Returns

PID

See Also

PID

CreateParabolicTrough()

Creates a new ParabolicTrough using defaults from this TD instance.

public ParabolicTrough CreateParabolicTrough()

Returns

ParabolicTrough

See Also

ParabolicTrough

CreateParaboloid()

Creates a new Paraboloid using defaults from this TD instance.

public Paraboloid CreateParaboloid()

Returns

Paraboloid

See Also

Paraboloid

CreatePath(Connection, Connection, PathTypes, bool)

Creates a new Path using defaults from this TD instance.

public Path CreatePath(Connection from, Connection to, RcPathData.PathTypes pType = PathTypes.TUBE, bool twinPath = false)

Parameters

from Connection

to Connection

pType RcPathData.PathTypes

twinPath bool

Returns

Path

See Also

Path

CreatePipe(DbObject)

public Pipe CreatePipe(DbObject centerline)

Parameters

centerline DbObject

Returns

Pipe

CreatePipe(IEnumerable<string>)

Creates a new Pipe using defaults from this TD instance.

public Pipe CreatePipe(IEnumerable<string> centerlineHandles)

Parameters

centerlineHandles IEnumerable<string>

Returns

Pipe

See Also

Pipe

CreatePolygon(IEnumerable<Point3d>)

Creates a new single-face MeshFD using defaults from this TD instance.

public Polygon CreatePolygon(IEnumerable<Point3d> vertices)

Parameters

vertices IEnumerable<Point3d>

Returns

Polygon

See Also

Polygon

CreatePolyline()

Creates a new LWPolyline in this Thermal Desktop instance.

public Polyline CreatePolyline()

Returns

Polyline

See Also

Polyline

CreatePolyline3d(IEnumerable<Point3d>, bool)

Creates a new 3d polyline in this Thermal Desktop instance.

public Polyline3d CreatePolyline3d(IEnumerable<Point3d> vertices, bool closed = false)

Parameters

vertices IEnumerable<Point3d>

closed bool

Returns

Polyline3d

See Also

Polyline3d

CreatePort(Connection)

Creates a new Port using defaults from this TD instance. Pass an empty connection to create a port that's not attached to anything.

public Port CreatePort(Connection connection)

Parameters

connection Connection

Returns

Port

See Also

Port

CreatePostProcessingDataMapper(string, ModelLength, FileFormats, bool, string, bool)

Creates a new PostProcessingDataMapper using defaults from this TD instance.

public DataMapper CreatePostProcessingDataMapper(string inputPathname, UnitsData.ModelLength inputUnit, DataMapper.FileFormats inputFileFormat, bool loadGroupsFromPatran = false, string patranPathname = "", bool useUCS = false)

Parameters

inputPathname string

inputUnit UnitsData.ModelLength

inputFileFormat DataMapper.FileFormats

loadGroupsFromPatran bool

patranPathname string

useUCS bool

Returns

DataMapper

See Also

DataMapper

CreatePressureLoad(IEnumerable<Connection>)

Creates a new PressureLoad using defaults from this TD instance.

public PressureLoad CreatePressureLoad(IEnumerable<Connection> appliedTo)

Parameters

appliedTo IEnumerable<Connection>

Returns

PressureLoad

See Also

PressureLoad

CreateQuadraticBrick(IEnumerable<string>)

Creates a new QuadraticBrick using defaults from this TD instance.

public QuadraticBrick CreateQuadraticBrick(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

QuadraticBrick

See Also

QuadraticBrick

CreateQuadraticPyramid(IEnumerable<string>)

Creates a new QuadraticPyramid using defaults from this TD instance.

public QuadraticPyramid CreateQuadraticPyramid(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

QuadraticPyramid

See Also

QuadraticPyramid

CreateQuadraticQuad(IEnumerable<string>)

Creates a new QuadraticQuad using defaults from this TD instance.

public QuadraticQuad CreateQuadraticQuad(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

QuadraticQuad

See Also

QuadraticQuad

CreateQuadraticTet(IEnumerable<string>)

Creates a new QuadraticTet using defaults from this TD instance.

public QuadraticTet CreateQuadraticTet(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

QuadraticTet

See Also

QuadraticTet

CreateQuadraticTri(IEnumerable<string>)

Creates a new QuadraticTri using defaults from this TD instance.

public QuadraticTri CreateQuadraticTri(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

QuadraticTri

See Also

QuadraticTri

CreateQuadraticWedge(IEnumerable<string>)

Creates a new QuadraticWedge using defaults from this TD instance.

public QuadraticWedge CreateQuadraticWedge(IEnumerable<string> nodeHandles)

Parameters

nodeHandles IEnumerable<string>

Returns

QuadraticWedge

See Also

QuadraticWedge

CreateRectangle()

Creates a new Rectangle using defaults from this TD instance.

public Rectangle CreateRectangle()

Returns

Rectangle

See Also

Rectangle

CreateScarfedCone()

Creates a new ScarfedCone using defaults from this TD instance.

public ScarfedCone CreateScarfedCone()

Returns

ScarfedCone

See Also

ScarfedCone

CreateScarfedCylinder()

Creates a new ScarfedCylinder using defaults from this TD instance.

public ScarfedCylinder CreateScarfedCylinder()

Returns

ScarfedCylinder

See Also

ScarfedCylinder

CreateSolidBrick()

Creates a new SolidBrick using defaults from this TD instance.

public SolidBrick CreateSolidBrick()

Returns

SolidBrick

See Also

SolidBrick

CreateSolidCone()

Creates a new SolidCone using defaults from this TD instance.

public SolidCone CreateSolidCone()

Returns

SolidCone

See Also

SolidCone

CreateSolidCylinder()

Creates a new SolidCylinder using defaults from this TD instance.

public SolidCylinder CreateSolidCylinder()

Returns

SolidCylinder

See Also

SolidCylinder

CreateSolidEllipsoid()

Creates a new SolidEllipsoid using defaults from this TD instance.

public SolidEllipsoid CreateSolidEllipsoid()

Returns

SolidEllipsoid

See Also

SolidEllipsoid

CreateSolidSphere()

Creates a new SolidSphere using defaults from this TD instance.

public SolidSphere CreateSolidSphere()

Returns

SolidSphere

See Also

SolidSphere

CreateSphere()

Creates a new Sphere using defaults from this TD instance.

public Sphere CreateSphere()

Returns

Sphere

See Also

Sphere

CreateSpline()

Creates a new Spline in this Thermal Desktop instance.

public Spline CreateSpline()

Returns

Spline

See Also

Spline

CreateSubmodel(string)

Creates a new Submodel using defaults from this TD instance.

public Submodel CreateSubmodel(string name)

Parameters

name string

Returns

Submodel

See Also

Submodel

CreateSymbol(string, string)

Creates a new Symbol using defaults from this TD instance.

public Symbol CreateSymbol(string name, string value)

Parameters

name string

value string

Returns

Symbol

See Also

Symbol

CreateTec(IEnumerable<Connection>, IEnumerable<Connection>)

Creates a new Tec using defaults from this TD instance.

public Tec CreateTec(IEnumerable<Connection> from, IEnumerable<Connection> to)

Parameters

from IEnumerable<Connection>

to IEnumerable<Connection>

Returns

Tec

See Also

Tec

CreateTec(Connection, IEnumerable<Connection>)

Creates a new Tec using defaults from this TD instance.

public Tec CreateTec(Connection from, IEnumerable<Connection> to)

Parameters

from Connection

to IEnumerable<Connection>

Returns

Tec

See Also

Tec

CreateTec(IEnumerable<Connection>, Connection)

Creates a new Tec using defaults from this TD instance.

public Tec CreateTec(IEnumerable<Connection> from, Connection to)

Parameters

from IEnumerable<Connection>

to Connection

Returns

Tec

See Also

Tec

CreateTec(Connection, Connection)

Creates a new Tec using defaults from this TD instance.

public Tec CreateTec(Connection from, Connection to)

Parameters

from Connection

to Connection

Returns

Tec

See Also

Tec

CreateTee(IEnumerable<string>, string)

Creates a new Tee from a main branch and side branch using defaults from this TD instance.

public Tee CreateTee(IEnumerable<string> mainBranchHandles, string sideBranchHandle)

Parameters

mainBranchHandles IEnumerable<string>

sideBranchHandle string

Returns

Tee

See Also

Tee

CreateTee(IEnumerable<string>, Point3d)

Creates a new Tee from a main branch and a location using defaults from this TD instance.

public Tee CreateTee(IEnumerable<string> mainBranchHandles, Point3d origin)

Parameters

mainBranchHandles IEnumerable<string>

origin Point3d

Returns

Tee

See Also

Tee

CreateText(string)

Creates a new Text annotation using defaults from this TD instance.

public Text CreateText(string text)

Parameters

text string

Returns

Text

See Also

Text

CreateThermoProps(string)

Creates a new ThermoProps using defaults from this TD instance.

public ThermoProps CreateThermoProps(string caseSensitiveName)

Parameters

caseSensitiveName string

Returns

ThermoProps

See Also

ThermoProps

CreateTie(IEnumerable<Connection>, IEnumerable<Connection>, IEnumerable<string>)

Creates a new Tie using defaults from this TD instance.

public Tie CreateTie(IEnumerable<Connection> thermals, IEnumerable<Connection> lumps, IEnumerable<string> paths)

Parameters

thermals IEnumerable<Connection>

lumps IEnumerable<Connection>

paths IEnumerable<string>

Returns

Tie

See Also

Tie

CreateTorus()

Creates a new Torus using defaults from this TD instance.

public Torus CreateTorus()

Returns

Torus

See Also

Torus

CreateTracker(Point3d)

Creates a new Tracker using defaults from this TD instance.

public Tracker CreateTracker(Point3d origin)

Parameters

origin Point3d

Returns

Tracker

See Also

Tracker

CreateUDFACollection()

Creates a new UDFACollection using defaults from this TD instance.

public UDFACollection CreateUDFACollection()

Returns

UDFACollection

See Also

UDFACollection

CreateUserArray(SubmodelNameData, int, IEnumerable<double>)

Creates a new UserArray using defaults from this TD instance.

public UserArray CreateUserArray(SubmodelNameData submodel, int arrayId, IEnumerable<double> singletArray)

Parameters

submodel SubmodelNameData

arrayId int

singletArray IEnumerable<double>

Returns

UserArray

See Also

UserArray

CreateUserCode()

Creates a new UserCode using defaults from this TD instance.

public UserCode CreateUserCode()

Returns

UserCode

See Also

UserCode

DeleteCaseSet(string, string)

Deletes a Case Set within this TD instance.

public void DeleteCaseSet(string caseName, string groupName = "")

Parameters

caseName string

groupName string

See Also

CaseSet

DeleteEntity(TdDbEntityData)

Deletes a TD/AutoCAD entity from the AutoCAD database.

public void DeleteEntity(TdDbEntityData x)

Parameters

x TdDbEntityData

The entity to delete.

DeleteFluidSubmodel(string)

Deletes a fluid submodel within this TD instance.

public void DeleteFluidSubmodel(string name)

Parameters

name string

See Also

FluidSubmodel

DeleteLayer(string)

Deletes a Layer within this TD instance.

public void DeleteLayer(string name)

Parameters

name string

See Also

Layer

DeleteLogicObject(string)

Deletes a LogicObject within this TD instance.

public void DeleteLogicObject(string handle)

Parameters

handle string

See Also

LogicObject

DeleteMaterialStack(string)

Deletes a Material Stack within this TD instance.

public void DeleteMaterialStack(string caseSensitiveName)

Parameters

caseSensitiveName string

See Also

MaterialStack

DeleteOpticalProps(string)

Deletes an optical property within this TD instance.

public void DeleteOpticalProps(string caseSensitiveName)

Parameters

caseSensitiveName string

See Also

OpticalProps

DeleteOrbit(string)

Deletes an orbit within this TD instance.

public void DeleteOrbit(string name)

Parameters

name string

See Also

Orbit

DeleteSubmodel(string)

Deletes a Submodel within this TD instance.

public void DeleteSubmodel(string name)

Parameters

name string

See Also

Submodel

DeleteSymbol(string)

Deletes a Symbol within this TD instance.

public void DeleteSymbol(string name)

Parameters

name string

See Also

Symbol

DeleteThermoProps(string)

Deletes a ThermoProps within this TD instance.

public void DeleteThermoProps(string caseSensitiveName)

Parameters

caseSensitiveName string

See Also

ThermoProps

DisableUndo()

public void DisableUndo()

EnableUndo()

public void EnableUndo()

ExportNodeInfo(ExportNodeInfoOptionsData)

Call the TD Export Node Info command to get node info as a list of strings (the default) or to write node info to the screen or file.

public List<string> ExportNodeInfo(ExportNodeInfoOptionsData x)

Parameters

x ExportNodeInfoOptionsData

Options.

Returns

List<string>

Filter<T>(List<T>, Predicate<T>)

Filters the specified input list using a predicate/rule.

public List<T> Filter<T>(List<T> inputList, Predicate<T> filter)

Parameters

inputList List<T>

The input list.

filter Predicate<T>

The rule.

Returns

List<T>

List<T>.

Type Parameters

T

GetAcEllipse(string, bool)

Gets an existing Ellipse from this TD instance.

public AcEllipse GetAcEllipse(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Ellipse in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

AcEllipse

See Also

AcEllipse

GetAcEllipses(bool)

Gets all the Ellipses in this TD instance.

public List<AcEllipse> GetAcEllipses(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<AcEllipse>

See Also

AcEllipse

GetArc(string, bool)

Gets an existing Arc from this TD instance.

public Arc GetArc(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Arc in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the Arc search.

Returns

Arc

See Also

Arc

GetArcs(bool)

Gets all the Arcs in this TD instance.

public List<Arc> GetArcs(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Arc>

See Also

Arc

GetAssemblies(bool)

Gets all the Assemblys in this TD instance.

public List<Assembly> GetAssemblies(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Assembly>

See Also

Assembly

GetAssembly(string, bool)

Gets an existing Assembly from this TD instance.

public Assembly GetAssembly(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Assembly in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the Assembly search

Returns

Assembly

See Also

Assembly

GetAutocadVariable(string, out int)

Gets the autocad variable.

public void GetAutocadVariable(string name, out int value)

Parameters

name string

The name.

value int

The value.

Exceptions

OpenTDException

Autocad variable " + name + " is of type " + rawValue.Type + ", not INT

GetAutocadVariable(string, out double)

Gets the autocad variable.

public void GetAutocadVariable(string name, out double value)

Parameters

name string

The name.

value double

The value.

Exceptions

OpenTDException

Autocad variable " + name + " is of type " + rawValue.Type + ", not DOUBLE

GetAutocadVariable(string, out string)

Gets the autocad variable.

public void GetAutocadVariable(string name, out string value)

Parameters

name string

The name.

value string

The value.

Exceptions

OpenTDException

Autocad variable " + name + " is of type " + rawValue.Type + ", not STRING

GetCappmp(string, bool)

Gets an existing cappmp from this TD instance.

public Cappmp GetCappmp(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a cappmp in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Cappmp

See Also

Cappmp

GetCappmps(bool)

Gets all the cappmps in this TD instance.

public List<Cappmp> GetCappmps(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Cappmp>

See Also

Cappmp

GetCaseSet(string, string)

Gets an existing Case Set from this TD instance.

public CaseSet GetCaseSet(string name, string groupName = "")

Parameters

name string

groupName string

Returns

CaseSet

See Also

CaseSet

GetCaseSets()

Gets all the Case Sets in this TD instance.

public List<CaseSet> GetCaseSets()

Returns

List<CaseSet>

See Also

CaseSet

GetCircle(string, bool)

Gets an existing Circle from this TD instance.

public Circle GetCircle(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Circle in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Circle

See Also

Circle

GetCircles(bool)

Gets all the Circles in this TD instance.

public List<Circle> GetCircles(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also seCircleh XREF's referenced in this TD instance.

Returns

List<Circle>

See Also

Circle

GetCompartment(string, bool)

Gets an existing Compartment from this TD instance.

public Compartment GetCompartment(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Compartment in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Compartment

See Also

Compartment

GetCompartments(bool)

Gets all the Compartments in this TD instance.

public List<Compartment> GetCompartments(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Compartment>

See Also

Compartment

GetConductor(string, bool)

Gets an existing Conductor from this TD instance.

public Conductor GetConductor(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Conductor in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Conductor

See Also

Conductor

GetConductors(bool)

Gets all the Conductors in this TD instance.

public List<Conductor> GetConductors(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Conductor>

See Also

Conductor

GetCone(string, bool)

Gets an existing Cone from this TD instance.

public Cone GetCone(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Cone in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Cone

See Also

Cone

GetCones(bool)

Gets all the Cones in this TD instance.

public List<Cone> GetCones(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Cone>

See Also

Cone

GetContactor(string, bool)

Gets an existing Contactor from this TD instance.

public Contactor GetContactor(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Contactor in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Contactor

See Also

Contactor

GetContactors(bool)

Gets all the Contactors in this TD instance.

public List<Contactor> GetContactors(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Contactor>

See Also

Contactor

GetCurrentDwgPathname()

public string GetCurrentDwgPathname()

Returns

string

GetCurrentLayer()

Get the current layer from this TD instance.

public Layer GetCurrentLayer()

Returns

Layer

GetCurrentWorkingDirectory()

public string GetCurrentWorkingDirectory()

Returns

string

GetCylinder(string, bool)

Gets an existing Cylinder from this TD instance.

public Cylinder GetCylinder(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Cylinder in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Cylinder

See Also

Cylinder

GetCylinders(bool)

Gets all the Cylinders in this TD instance.

public List<Cylinder> GetCylinders(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Cylinder>

See Also

Cylinder

GetDisk(string, bool)

Gets an existing Disk from this TD instance.

public Disk GetDisk(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Disk in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Disk

See Also

Disk

GetDisks(bool)

Gets all the Disks in this TD instance.

public List<Disk> GetDisks(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Disk>

See Also

Disk

GetDomainManager()

Gets an IDomainManager for working with domains in this TD instance.

public IDomainManager GetDomainManager()

Returns

IDomainManager

IDomainManager.

See Also

IDomainManager

GetDwgUnits()

Gets the TD units. Deprecated. Use ThermalDesktop.UserPreferences.Units instead.

public UnitsData GetDwgUnits()

Returns

UnitsData

UnitsData.

GetDynamicSindaStatus()

public DynamicSindaStatus GetDynamicSindaStatus()

Returns

DynamicSindaStatus

GetEllipse(string, bool)

Gets an existing Ellipse from this TD instance.

public Ellipse GetEllipse(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Ellipse in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Ellipse

See Also

Ellipse

GetEllipses(bool)

Gets all the Ellipses in this TD instance.

public List<Ellipse> GetEllipses(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Ellipse>

See Also

Ellipse

GetEllipsoid(string, bool)

Gets an existing Ellipsoid from this TD instance.

public Ellipsoid GetEllipsoid(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Ellipsoid in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Ellipsoid

See Also

Ellipsoid

GetEllipsoids(bool)

Gets all the Ellipsoids in this TD instance.

public List<Ellipsoid> GetEllipsoids(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Ellipsoid>

See Also

Ellipsoid

GetEllipticCone(string, bool)

Gets an existing EllipticCone from this TD instance.

public EllipticCone GetEllipticCone(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an EllipticCone in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

EllipticCone

See Also

EllipticCone

GetEllipticCones(bool)

Gets all the Cones in this TD instance.

public List<EllipticCone> GetEllipticCones(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<EllipticCone>

See Also

Cone

GetEllipticCylinder(string, bool)

Gets an existing EllipticCylinder from this TD instance.

public EllipticCylinder GetEllipticCylinder(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a single-face MeshFD in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

EllipticCylinder

See Also

EllipticCylinder

GetEllipticCylinders(bool)

Gets all the EllipticCylinders in this TD instance.

public List<EllipticCylinder> GetEllipticCylinders(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<EllipticCylinder>

See Also

EllipticCylinder

GetEntityType(string)

Use to determine the entity type ("RcNode", "RcRectangle", and so on) for a handle.

public EntityDescriptor GetEntityType(string handle)

Parameters

handle string

Returns

EntityDescriptor

GetEntityTypes(IEnumerable<string>)

Use to determine the entity types ("RcNode", "RcRectangle", and so on) for a list of handles.

public List<EntityDescriptor> GetEntityTypes(IEnumerable<string> handles)

Parameters

handles IEnumerable<string>

Returns

List<EntityDescriptor>

GetFEMeshImporter(string, bool)

Gets an existing FEMeshImporter from this TD instance.

public FEMeshImporter GetFEMeshImporter(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a FEMeshImporter in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

FEMeshImporter

See Also

FEMeshImporter

GetFEMeshImporters(bool)

Gets all the FEMeshImporters in this TD instance.

public List<FEMeshImporter> GetFEMeshImporters(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<FEMeshImporter>

See Also

FEMeshImporter

GetFTie(string, bool)

Gets an existing FTie from this TD instance.

public FTie GetFTie(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an FTie in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

FTie

See Also

FTie

GetFTies(bool)

Gets all the FTies in this TD instance.

public List<FTie> GetFTies(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<FTie>

See Also

FTie

GetFkLocator(string, bool)

Gets an existing FkLocator from this TD instance.

public FkLocator GetFkLocator(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

FkLocator

See Also

FkLocator

GetFkLocators(bool)

Gets all the FkLocators in this TD instance.

public List<FkLocator> GetFkLocators(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<FkLocator>

See Also

FkLocator

GetFluidSubmodel(string)

Gets an existing fluid submodel from this TD instance.

public FluidSubmodel GetFluidSubmodel(string name)

Parameters

name string

Returns

FluidSubmodel

See Also

FluidSubmodel

GetFluidSubmodels(bool)

Gets all the fluid submodels in this TD instance.

public List<FluidSubmodel> GetFluidSubmodels(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<FluidSubmodel>

See Also

FluidSubmodel

GetHeatLoad(string, bool)

Gets an existing HeatLoad from this TD instance.

public HeatLoad GetHeatLoad(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a HeatLoad in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

HeatLoad

See Also

HeatLoad

GetHeatLoads(bool)

Gets all the HeatLoads in this TD instance.

public List<HeatLoad> GetHeatLoads(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<HeatLoad>

See Also

HeatLoad

GetHeater(string, bool)

Gets an existing Heater from this TD instance.

public Heater GetHeater(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Heater in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Heater

See Also

Heater

GetHeaters(bool)

Gets all the Heaters in this TD instance.

public List<Heater> GetHeaters(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Heater>

See Also

Heater

GetHelices(bool)

Gets all the Helixs in this TD instance.

public List<Helix> GetHelices(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Helix>

See Also

Helix

GetHelix(string, bool)

Gets an existing Helix from this TD instance.

public Helix GetHelix(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Helix in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Helix

See Also

Helix

GetIFace(string, bool)

Gets an existing IFace from this TD instance.

public IFace GetIFace(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an IFace in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

IFace

See Also

IFace

GetIFaces(bool)

Gets all the IFaces in this TD instance.

public List<IFace> GetIFaces(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<IFace>

See Also

IFace

GetInstanceDataListString()

Use the Set/GetInstanceData methods to store general data with this OpenTD server.

public List<string> GetInstanceDataListString()

Returns

List<string>

GetLayer(string)

Gets an existing Layer from this TD instance. Note: this method accecpts an AutoCAD handle, not a layer name.

public Layer GetLayer(string handle)

Parameters

handle string

Returns

Layer

See Also

Layer

GetLayerByName(string)

Gets an existing Layer from this TD instance, based on the layer name.

public Layer GetLayerByName(string name)

Parameters

name string

Returns

Layer

GetLayers(bool)

Gets all the Layers in this TD instance.

public List<Layer> GetLayers(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Layer>

See Also

Layer

GetLine(string, bool)

Gets an existing Line from this TD instance.

public Line GetLine(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Line in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Line

See Also

Line

GetLinearBrick(string, bool)

Gets an existing LinearBrick from this TD instance.

public LinearBrick GetLinearBrick(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a LinearBrick in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

LinearBrick

See Also

LinearBrick

GetLinearBricks(bool)

Gets all the LinearBricks in this TD instance.

public List<LinearBrick> GetLinearBricks(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LinearBrick>

See Also

LinearBrick

GetLinearPyramid(string, bool)

Gets an existing LinearPyramid from this TD instance.

public LinearPyramid GetLinearPyramid(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a LinearPyramid in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

LinearPyramid

See Also

LinearPyramid

GetLinearPyramids(bool)

Gets all the LinearPyramids in this TD instance.

public List<LinearPyramid> GetLinearPyramids(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LinearPyramid>

See Also

LinearPyramid

GetLinearQuad(string, bool)

Gets an existing LinearQuad from this TD instance.

public LinearQuad GetLinearQuad(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a LinearQuad in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

LinearQuad

See Also

LinearQuad

GetLinearQuads(bool)

Gets all the LinearQuads in this TD instance.

public List<LinearQuad> GetLinearQuads(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LinearQuad>

See Also

LinearQuad

GetLinearTet(string, bool)

Gets an existing LinearTet from this TD instance.

public LinearTet GetLinearTet(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a LinearTet in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

LinearTet

See Also

LinearTet

GetLinearTets(bool)

Gets all the LinearTets in this TD instance.

public List<LinearTet> GetLinearTets(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LinearTet>

See Also

LinearTet

GetLinearTri(string, bool)

Gets an existing LinearTri from this TD instance.

public LinearTri GetLinearTri(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a LinearTri in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

LinearTri

See Also

LinearTri

GetLinearTris(bool)

Gets all the LinearTris in this TD instance.

public List<LinearTri> GetLinearTris(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LinearTri>

See Also

LinearTri

GetLinearWedge(string, bool)

Gets an existing LinearWedge from this TD instance.

public LinearWedge GetLinearWedge(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a LinearWedge in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

LinearWedge

See Also

LinearWedge

GetLinearWedges(bool)

Gets all the LinearWedges in this TD instance.

public List<LinearWedge> GetLinearWedges(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LinearWedge>

See Also

LinearWedge

GetLines(bool)

Gets all the Lines in this TD instance.

public List<Line> GetLines(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Line>

See Also

Line

GetLogicObjects(bool)

Gets all the LogicObjects in this TD instance.

public List<LogicObject> GetLogicObjects(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<LogicObject>

See Also

LogicObject

GetLump(string, bool)

Gets an existing Lump from this TD instance.

public Lump GetLump(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Lump in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Lump

See Also

Lump

GetLumps(bool)

Gets all the Lumps in this TD instance.

public List<Lump> GetLumps(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Lump>

See Also

Lump

GetMainWindow()

public NativeWindow GetMainWindow()

Returns

NativeWindow

GetMaterialStack(string)

Gets an existing Material Stack from this TD instance.

public MaterialStack GetMaterialStack(string caseSensitiveName)

Parameters

caseSensitiveName string

Returns

MaterialStack

See Also

MaterialStack

GetMaterialStacks(bool)

Gets all the Material Stacks in this TD instance.

public List<MaterialStack> GetMaterialStacks(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<MaterialStack>

See Also

MaterialStack

GetMeasure(string, bool)

Gets an existing Measure from this TD instance.

public Measure GetMeasure(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Measure in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Measure

See Also

Measure

GetMeasureMappingTolerances()

Gets the mapping tolerances used by Measures in this TD instance.

public MeasureMappingTolerances GetMeasureMappingTolerances()

Returns

MeasureMappingTolerances

See Also

Measure

GetMeasures(bool)

Gets all the Measures in this TD instance.

public List<Measure> GetMeasures(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Measure>

See Also

Measure

GetMeshFD(string, bool)

Gets an existing MeshFD from this TD instance.

public MeshFD GetMeshFD(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a MeshFD in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

MeshFD

See Also

MeshFD

GetMeshFDs(bool)

Gets all the MeshFDs in this TD instance.

public List<MeshFD> GetMeshFDs(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<MeshFD>

See Also

MeshFD

GetModel()

Gets a Model representing all OpenTD-supported entities in this TD instance.

public Model GetModel()

Returns

Model

Model.

See Also

Model

GetNode(string, bool)

Gets an existing Node from this TD instance.

public Node GetNode(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Node in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Node

See Also

Node

GetNodeCorrespondenceMap()

Gets the TRASYS-style node correspondence dictionary. Keys are SINDA node names. Values are lists of RadCAD nodes that correspond to each SINDA node. Use SetNodeCorrespondenceState to turn node correspondence on or off.

public Dictionary<string, List<string>> GetNodeCorrespondenceMap()

Returns

Dictionary<string, List<string>>

See Also

ThermalDesktop.SetNodeCorrespondenceState(bool), ThermalDesktop.SetNodeCorrespondenceMap(Dictionary<string, List<string>>)

GetNodes(bool)

Gets all the Nodes in this TD instance.

public List<Node> GetNodes(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Node>

See Also

Node

GetNotes()

Gets the dwg notes from this TD instance.

public Notes GetNotes()

Returns

Notes

See Also

Notes

GetNumberOfDbObjects(bool, bool, bool, bool, bool)

public int GetNumberOfDbObjects(bool forward = true, bool modelSpace = true, bool xRefs = false, bool paperSpace = false, bool tdOnly = true)

Parameters

forward bool

modelSpace bool

xRefs bool

paperSpace bool

tdOnly bool

Returns

int

GetOffsetParaboloid(string, bool)

Gets an existing OffsetParaboloid from this TD instance.

public OffsetParaboloid GetOffsetParaboloid(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an OffsetParaboloid in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

OffsetParaboloid

See Also

OffsetParaboloid

GetOffsetParaboloids(bool)

Gets all the OffsetParaboloids in this TD instance.

public List<OffsetParaboloid> GetOffsetParaboloids(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<OffsetParaboloid>

See Also

OffsetParaboloid

GetOgive(string, bool)

Gets an existing Ogive from this TD instance.

public Ogive GetOgive(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Ogive in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Ogive

See Also

Ogive

GetOgives(bool)

Gets all the Ogives in this TD instance.

public List<Ogive> GetOgives(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Ogive>

See Also

Ogive

GetOpticalPropDBPathname()

Gets the pathname of the current optical property database file in use by this TD instance.

public string GetOpticalPropDBPathname()

Returns

string

GetOpticalProps(string)

Gets an existing optical property from this TD instance.

public OpticalProps GetOpticalProps(string name)

Parameters

name string

Returns

OpticalProps

See Also

OpticalProps

GetOpticalPropss(bool)

Gets all the optical properties in this TD instance.

public List<OpticalProps> GetOpticalPropss(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<OpticalProps>

See Also

OpticalProps

GetOrbit(string)

Gets an existing orbit from this TD instance.

public Orbit GetOrbit(string name)

Parameters

name string

Returns

Orbit

See Also

Orbit

GetOrbits()

Gets all the orbits in this TD instance.

public List<Orbit> GetOrbits()

Returns

List<Orbit>

See Also

Orbit

GetParabolicTrough(string, bool)

Gets an existing ParabolicTrough from this TD instance.

public ParabolicTrough GetParabolicTrough(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a ParabolicTrough in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

ParabolicTrough

See Also

ParabolicTrough

GetParabolicTroughs(bool)

Gets all the ParabolicTroughs in this TD instance.

public List<ParabolicTrough> GetParabolicTroughs(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<ParabolicTrough>

See Also

ParabolicTrough

GetParaboloid(string, bool)

Gets an existing Paraboloid from this TD instance.

public Paraboloid GetParaboloid(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Paraboloid in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Paraboloid

See Also

Paraboloid

GetParaboloids(bool)

Gets all the Paraboloids in this TD instance.

public List<Paraboloid> GetParaboloids(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Paraboloid>

See Also

Paraboloid

GetPath(string, bool)

Gets an existing Path from this TD instance.

public Path GetPath(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Path in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Path

See Also

Path

GetPaths(bool)

Gets all the Paths in this TD instance.

public List<Path> GetPaths(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Path>

See Also

Path

GetPipe(string, bool)

Gets an existing Pipe from this TD instance.

public Pipe GetPipe(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Pipe in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Pipe

See Also

Pipe

GetPipes(bool)

Gets all the Pipes in this TD instance.

public List<Pipe> GetPipes(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Pipe>

See Also

Pipe

GetPolygon(string)

Gets an existing single-face MeshFD from this TD instance.

public Polygon GetPolygon(string handle)

Parameters

handle string

An AutoCAD handle attached to a single-face MeshFD in this TD instance.

Returns

Polygon

See Also

Polygon

GetPolygons(bool)

Gets all the Polygons in this TD instance.

public List<Polygon> GetPolygons(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Polygon>

See Also

Polygon

GetPolyline(string, bool)

Gets an existing LWPolyline from this TD instance.

public Polyline GetPolyline(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an LWPolyline in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Polyline

See Also

Polyline

GetPolyline3d(string, bool)

Gets an existing 3d polyline from this TD instance.

public Polyline3d GetPolyline3d(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an 3d polyline in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Polyline3d

See Also

Polyline3d

GetPolyline3ds(bool)

Gets all the 3d polylines in this TD instance.

public List<Polyline3d> GetPolyline3ds(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Polyline3d>

See Also

Polyline3d

GetPolylines(bool)

Gets all the LWPolylines in this TD instance.

public List<Polyline> GetPolylines(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Polyline>

See Also

Polyline

GetPort(string, bool)

Gets an existing Port from this TD instance.

public Port GetPort(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Port in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Port

See Also

Port

GetPorts(bool)

Gets all the Ports in this TD instance.

public List<Port> GetPorts(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Port>

See Also

Port

GetPostProcessingDataMapper(string, bool)

Gets an existing PostProcessingDataMapper from this TD instance.

public DataMapper GetPostProcessingDataMapper(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a PostProcessingDataMapper in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

DataMapper

See Also

DataMapper

GetPostProcessingDataMappers(bool)

Gets all the PostProcessingDataMappers in this TD instance.

public List<DataMapper> GetPostProcessingDataMappers(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<DataMapper>

See Also

DataMapper

GetPressureLoad(string, bool)

Gets an existing PressureLoad from this TD instance.

public PressureLoad GetPressureLoad(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a PressureLoad in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

PressureLoad

See Also

PressureLoad

GetPressureLoads(bool)

Gets all the PressureLoads in this TD instance.

public List<PressureLoad> GetPressureLoads(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<PressureLoad>

See Also

PressureLoad

GetQuadraticBrick(string, bool)

Gets an existing QuadraticBrick from this TD instance.

public QuadraticBrick GetQuadraticBrick(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a QuadraticBrick in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

QuadraticBrick

See Also

QuadraticBrick

GetQuadraticBricks(bool)

Gets all the QuadraticBricks in this TD instance.

public List<QuadraticBrick> GetQuadraticBricks(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<QuadraticBrick>

See Also

QuadraticBrick

GetQuadraticPyramid(string, bool)

Gets an existing QuadraticPyramid from this TD instance.

public QuadraticPyramid GetQuadraticPyramid(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a QuadraticPyramid in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

QuadraticPyramid

See Also

QuadraticPyramid

GetQuadraticPyramids(bool)

Gets all the QuadraticPyramids in this TD instance.

public List<QuadraticPyramid> GetQuadraticPyramids(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<QuadraticPyramid>

See Also

QuadraticPyramid

GetQuadraticQuad(string, bool)

Gets an existing QuadraticQuad from this TD instance.

public QuadraticQuad GetQuadraticQuad(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a QuadraticQuad in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

QuadraticQuad

See Also

QuadraticQuad

GetQuadraticQuads(bool)

Gets all the QuadraticQuads in this TD instance.

public List<QuadraticQuad> GetQuadraticQuads(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<QuadraticQuad>

See Also

QuadraticQuad

GetQuadraticTet(string, bool)

Gets an existing QuadraticTet from this TD instance.

public QuadraticTet GetQuadraticTet(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a QuadraticTet in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

QuadraticTet

See Also

QuadraticTet

GetQuadraticTets(bool)

Gets all the QuadraticTets in this TD instance.

public List<QuadraticTet> GetQuadraticTets(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<QuadraticTet>

See Also

QuadraticTet

GetQuadraticTri(string, bool)

Gets an existing QuadraticTri from this TD instance.

public QuadraticTri GetQuadraticTri(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a QuadraticTri in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

QuadraticTri

See Also

QuadraticTri

GetQuadraticTris(bool)

Gets all the QuadraticTris in this TD instance.

public List<QuadraticTri> GetQuadraticTris(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<QuadraticTri>

See Also

QuadraticTri

GetQuadraticWedge(string, bool)

Gets an existing QuadraticWedge from this TD instance.

public QuadraticWedge GetQuadraticWedge(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a QuadraticWedge in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

QuadraticWedge

See Also

QuadraticWedge

GetQuadraticWedges(bool)

Gets all the QuadraticWedges in this TD instance.

public List<QuadraticWedge> GetQuadraticWedges(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<QuadraticWedge>

See Also

QuadraticWedge

GetRectangle(string, bool)

Gets an existing Rectangle from this TD instance.

public Rectangle GetRectangle(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Rectangle in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Rectangle

See Also

Rectangle

GetRectangles(bool)

Gets all the Rectangles in this TD instance.

public List<Rectangle> GetRectangles(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Rectangle>

See Also

Rectangle

GetScarfedCone(string, bool)

Gets an existing ScarfedCone from this TD instance.

public ScarfedCone GetScarfedCone(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a ScarfedCone in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

ScarfedCone

See Also

ScarfedCone

GetScarfedCones(bool)

Gets all the ScarfedCones in this TD instance.

public List<ScarfedCone> GetScarfedCones(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<ScarfedCone>

See Also

ScarfedCone

GetScarfedCylinder(string, bool)

Gets an existing ScarfedCylinder from this TD instance.

public ScarfedCylinder GetScarfedCylinder(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a ScarfedCylinder in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

ScarfedCylinder

See Also

ScarfedCylinder

GetScarfedCylinders(bool)

Gets all the ScarfedCylinders in this TD instance.

public List<ScarfedCylinder> GetScarfedCylinders(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<ScarfedCylinder>

See Also

ScarfedCylinder

GetSelection(SelectionOptions)

Prompts the user to select entities in TD graphically, or from the Model Browser, or from Domains or AutoCAD Groups.

public List<EntityDescriptor> GetSelection(SelectionOptions options)

Parameters

options SelectionOptions

Returns

List<EntityDescriptor>

See Also

SelectionOptions

GetSelection()

Prompts the user to select entities in TD using default SelectionOptions.

public List<EntityDescriptor> GetSelection()

Returns

List<EntityDescriptor>

See Also

SelectionOptions

GetSolidBrick(string, bool)

Gets an existing SolidBrick from this TD instance.

public SolidBrick GetSolidBrick(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a SolidBrick in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

SolidBrick

See Also

SolidBrick

GetSolidBricks(bool)

Gets all the SolidBricks in this TD instance.

public List<SolidBrick> GetSolidBricks(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<SolidBrick>

See Also

SolidBrick

GetSolidCone(string, bool)

Gets an existing SolidCone from this TD instance.

public SolidCone GetSolidCone(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a SolidCone in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

SolidCone

See Also

SolidCone

GetSolidCones(bool)

Gets all the SolidCones in this TD instance.

public List<SolidCone> GetSolidCones(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<SolidCone>

See Also

SolidCone

GetSolidCylinder(string, bool)

Gets an existing SolidCylinder from this TD instance.

public SolidCylinder GetSolidCylinder(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a SolidCylinder in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

SolidCylinder

See Also

SolidCylinder

GetSolidCylinders(bool)

Gets all the SolidCylinders in this TD instance.

public List<SolidCylinder> GetSolidCylinders(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<SolidCylinder>

See Also

SolidCylinder

GetSolidEllipsoid(string, bool)

Gets an existing SolidEllipsoid from this TD instance.

public SolidEllipsoid GetSolidEllipsoid(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a SolidEllipsoid in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

SolidEllipsoid

See Also

SolidEllipsoid

GetSolidEllipsoids(bool)

Gets all the SolidEllipsoids in this TD instance.

public List<SolidEllipsoid> GetSolidEllipsoids(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<SolidEllipsoid>

See Also

SolidEllipsoid

GetSolidSphere(string, bool)

Gets an existing SolidSphere from this TD instance.

public SolidSphere GetSolidSphere(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a SolidSphere in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

SolidSphere

See Also

SolidSphere

GetSolidSpheres(bool)

Gets all the SolidSpheres in this TD instance.

public List<SolidSphere> GetSolidSpheres(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<SolidSphere>

See Also

SolidSphere

GetSphere(string, bool)

Gets an existing Sphere from this TD instance.

public Sphere GetSphere(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Sphere in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Sphere

See Also

Sphere

GetSpheres(bool)

Gets all the Spheres in this TD instance.

public List<Sphere> GetSpheres(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Sphere>

See Also

Sphere

GetSpline(string, bool)

Gets an existing Spline from this TD instance.

public Spline GetSpline(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to an Spline in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Spline

See Also

Spline

GetSplines(bool)

Gets all the Splines in this TD instance.

public List<Spline> GetSplines(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Spline>

See Also

Spline

GetSubmodels(bool)

Gets all the Submodels in this TD instance.

public List<Submodel> GetSubmodels(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Submodel>

See Also

Submodel

GetSymbol(string)

Gets an existing Symbol from this TD instance.

public Symbol GetSymbol(string name)

Parameters

name string

Returns

Symbol

See Also

Symbol

GetSymbolValue(string)

Gets an evaluated symbol value from this TD instance. Throws an OpenTDException if symbol does not exist.

public double GetSymbolValue(string name)

Parameters

name string

The name.

Returns

double

System.Double.

GetSymbols()

Gets all the Symbols in this TD instance.

public List<Symbol> GetSymbols()

Returns

List<Symbol>

See Also

Symbol

GetTec(string, bool)

Gets an existing Tec from this TD instance.

public Tec GetTec(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Tec in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Tec

See Also

Tec

GetTecs(bool)

Gets all the Tecs in this TD instance.

public List<Tec> GetTecs(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Tec>

See Also

Tec

GetTee(string, bool)

Gets an existing Tee from this TD instance.

public Tee GetTee(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Tee in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Tee

See Also

Tee

GetTees(bool)

Gets all the Tees in this TD instance.

public List<Tee> GetTees(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Tee>

See Also

Tee

GetText(string, bool)

Gets an existing Text annotation from this TD instance.

public Text GetText(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Text in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Text

See Also

Text

GetTexts(bool)

Gets all the Text annotations in this TD instance.

public List<Text> GetTexts(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Text>

See Also

Text

GetThermalDesktopVersion()

Gets the thermal desktop version.

public string GetThermalDesktopVersion()

Returns

string

System.String.

GetThermoPropDBPathname()

Gets the pathname of the current thermophysical property database file in use by this TD instance.

public string GetThermoPropDBPathname()

Returns

string

GetThermoProps(string)

Gets an existing ThermoProps from this TD instance.

public ThermoProps GetThermoProps(string name)

Parameters

name string

Returns

ThermoProps

See Also

ThermoProps

GetThermoPropss(bool)

Gets all the ThermoProps in this TD instance.

public List<ThermoProps> GetThermoPropss(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<ThermoProps>

See Also

ThermoProps

GetTie(string, bool)

Gets an existing Tie from this TD instance.

public Tie GetTie(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Tie in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Tie

See Also

Tie

GetTies(bool)

Gets all the Ties in this TD instance.

public List<Tie> GetTies(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Tie>

See Also

Tie

GetTorus(string, bool)

Gets an existing Torus from this TD instance.

public Torus GetTorus(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Torus in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Torus

See Also

Torus

GetToruses(bool)

Gets all the Toruss in this TD instance.

public List<Torus> GetToruses(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Torus>

See Also

Torus

GetTracker(string, bool)

Gets an existing Tracker from this TD instance.

public Tracker GetTracker(string handle, bool searchXREFS = false)

Parameters

handle string

An AutoCAD handle attached to a Tracker in this TD instance.

searchXREFS bool

If true, xref drawings will be included in the search.

Returns

Tracker

See Also

Tracker

GetTrackers(bool)

Gets all the Trackers in this TD instance.

public List<Tracker> GetTrackers(bool searchXREFS = false)

Parameters

searchXREFS bool

if set to true also search XREF's referenced in this TD instance.

Returns

List<Tracker>

See Also

Tracker

GetXREFpathnames()

public List<XrefInfo> GetXREFpathnames()

Returns

List<XrefInfo>

HideModelBrowser()

public void HideModelBrowser()

IsConnected()

Determines whether this ThermalDesktop is connected to an instance of TD.

public bool IsConnected()

Returns

bool

true if this instance is connected; otherwise, false.

OpenOpticalPropDB(string)

Opens an optical property database file.

public void OpenOpticalPropDB(string pathname)

Parameters

pathname string

The rco pathname.

OpenThermoPropDB(string)

Opens a thermophysical property database file.

public void OpenThermoPropDB(string pathname)

Parameters

pathname string

The tdp pathname.

Print(string)

Prints the specified text to the AutoCAD commandline, without automatically adding a newline.

public void Print(string text)

Parameters

text string

The text.

ResetGraphics()

Calls the TD Reset Graphics command.

public void ResetGraphics()

RestoreIsoView(IsoViews)

Restores the view to one of the standard isometric views defined by AutoCAD.

public void RestoreIsoView(IsoViews view)

Parameters

view IsoViews

The view.

RestoreOrthoView(OrthoViews)

Restores the view to one of the standard orthographic views defined by AutoCAD.

public void RestoreOrthoView(OrthoViews view)

Parameters

view OrthoViews

The view.

RestoreView(string)

Restores the view to an AutoCAD named view.

public void RestoreView(string viewName)

Parameters

viewName string

Name of the view.

SaveAs(string)

Saves the dwg. Automatically overwrites existing file at pathname.

public void SaveAs(string pathname)

Parameters

pathname string

The pathname.

SendCommand(string, bool, int)

Sends an AutoCAD command.

public void SendCommand(string command, bool echo = true, int delay = 1000)

Parameters

command string

The command. (Use spaces for carriage returns.)

echo bool

if set to true echo the command to the commandline.

delay int

Delay in ms to wait after sending command. (AutoCAD commands are executed asynchronously.)

SendLegacyComCommand(string, int)

Emulates the TD COM parser -- an ancestor of OpenTD -- without using COM.

public string SendLegacyComCommand(string command, int delay = 0)

Parameters

command string

delay int

Delay in ms to wait after sending command. (Some legacy COM commands are executed asynchronously.)

Returns

string

Remarks

Before OpenTD, TD offered a simple API via COM. The TD COM server operated by parsing a command string. The SendLegacyComCommand method emulates the TD COM parser, without having to connect to TD via COM.

Most TD COM functionality can be accomplished using OpenTD methods. The SendLegacyComCommand method is included for completeness, and to ease the process of migrating an existing TD COM application to OpenTD. SendLegacyComCommand is not recommended to be used by new OpenTD applications.

Since the underlying RadCAD functions used by the COM server report success/failure via the AutoCAD console and not via a return value, SendLegacyComCommand may appear to succeed when it did not. It will only throw exceptions if it doesn't recognize a command or if the command crashes AutoCAD, and not if the command fails in some non-catastrophic way.

SendLegacyComCommand usually returns an empty string. The only exception to this is the "get" command, which attempts to return a string representing the value of a symbol.

The following commands are supported:

acadcommand "command" ["optional parameter" "optional parameter" ...] Executes an AutoCAD console command. The command and any parameters are individually enclosed in double quotes. New applications should use ThermalDesktop.SendCommand instead. Examples: SendLegacyComCommand("acadcommand "zoom" "extents"") SendLegacyComCommand("acadcommand "line" "1,1" "2,2" """)

case [optional parameters] Calculates radiation and Cond/Cap data for the current case set. Examples: SendLegacyComCommand("case") // Calculates all radiation and cond/cap data. SendLegacyComCommand("case rad0 rad3 cc") // Calculates 1st and 4th radation tasks and cond/cap data.

caseset parameters Provides access to the Case Set Manager. New applications should use OpenTD CaseSetManager and/or CaseSet instead.

copyradkfiles fromFilename toFilename Copies radk files.

createmapset Undocumented interactive command.

disableuserbreaks Disables the ability to press ESC to end tasks.

displaycurrentdataset Displays the current post-processing dataset. New applications should use OpenTD.PostProcessing instead.

dumpppmap outputFilename Undocumented post-processing command. New applications should use OpenTD.Results instead.

exitautocad Attempts to exit Thermal Desktop without saving the dwg. New applications should use ThermalDesktop.Quit instead.

exportnodeinfo Calls the RcExportNodeInfo command. New applications should use ThermalDesktop.ExportNodeInfo instead.

get symbolName Returns a string representing the evaluated value of a symbol. New applications should use ThermalDesktop.GetSymbol instead.

importcomet filename Undocumented.

mapnastran inputFilename outputFilename [optional tolerance] Maps the current post-processing data to the Nastran mesh defined in inputFilename, writing the results in Nastran format in outputFilename.

object This command is used by Dynamic Sinda to display the value of OBJECT in the TD Dynamic Sinda status window.

opticalias alias opticalProp Changes what optical property an alias refers to. The names cannot include spaces. New applications should use ThermalDesktop.OpticalPropAliasManager instead.

orbit parameters Provides access to the Heating Rate Case Manager. New applications should use OpenTD Orbit instead.

output message Writes message to the TD Dynamic Sinda status window.

postprocess filename [optional delay in ms] Creates or updates a TEXT-type dataset from a file. New applications should use PostProcessing.DatasetManager instead.

ppnexttime Steps forward to the next record in the current dataset. New applications should use PostProcessing.DatasetManager instead.

ppsavefile savOrCsrPathname Creates or updates a SF-type dataset from a save file or CSR directory. New applications should use PostProcessing.DatasetManager instead.

ppsettime index Sets the record for the current post-processing dataset. Uses 0-indexed record array index (0, 1, 2, etc) not record number. New applications should use PostProcessing.DatasetManager instead.

sendf4 Sends the F4 keycode. Useful for capturing the screen using hypersnap/cam.

set symbolName expressionIncludingSpaces Updates an existing symbol's expression. New applications should use OpenTD Symbol instead.

setmapconstanttol toleranceInDwgUnits Sets the constant tolerance to be used by the mapnastran command, in dwg units.

setmapcurrentorall parameter If parameter is ALL, the mapnastran command will perform the mapping for all records in the dataset. If parameter is any other value, it will perform the mapping at the current record.

setmapset mapsetName Instructs the mapnastran command to only use the specified object mapset.

setmapvariabletol TolerancesSeperatedBySpaces Sets the progressive tolerance to be used by the mapnastran command, in dwg units.

startcase [optional name] Runs the current case set, or the one specified by the optional name. New applications should use OpenTD CaseSetManager and/or CaseSet instead.

tdmapallmappers appendToFilename Executes all mappers. Inserts the appendToFilename string at the end of each output file, before any extension.

thermoalias alias thermoProp Changes what thermophysical property an alias refers to. The names cannot include spaces. New applications should use ThermalDesktop.ThermoPropAliasManager instead.

update Updates all entity values based on symbol expressions.

SetAutocadVariable(string, int)

Sets an autocad variable that takes an integer value.

public void SetAutocadVariable(string name, int value)

Parameters

name string

The name.

value int

The value.

SetAutocadVariable(string, double)

Sets an autocad variable that takes a double value.

public void SetAutocadVariable(string name, double value)

Parameters

name string

The name.

value double

The value.

SetAutocadVariable(string, string)

Sets an autocad variable that takes a string value.

public void SetAutocadVariable(string name, string value)

Parameters

name string

The name.

value string

The value.

SetCurrentLayer(string)

public void SetCurrentLayer(string name)

Parameters

name string

SetDwgUnits(UnitsData, bool)

Sets the dwg units. Deprecated. Use ThermalDesktop.UserPreferences.Units instead.

public void SetDwgUnits(UnitsData x, bool DoNotScaleModel = false)

Parameters

x UnitsData

The units.

DoNotScaleModel bool

if set to true do not scale model to new length units.

SetInstanceDataListString(List<string>)

Use the Set/GetInstanceData methods to store general data with this OpenTD server.

public void SetInstanceDataListString(List<string> x)

Parameters

x List<string>

SetNodeCorrespondenceMap(Dictionary<string, List<string>>)

Sets the TRASYS-style node correspondence dictionary. Keys are SINDA node names. Values are lists of RadCAD nodes that correspond to each SINDA node. Use SetNodeCorrespondenceState to turn node correspondence on or off.

public void SetNodeCorrespondenceMap(Dictionary<string, List<string>> map)

Parameters

map Dictionary<string, List<string>>

See Also

ThermalDesktop.SetNodeCorrespondenceState(bool), ThermalDesktop.GetNodeCorrespondenceMap()

SetNodeCorrespondenceState(bool)

Turns node correspondence on or off.

public void SetNodeCorrespondenceState(bool activated)

Parameters

activated bool

if set to true activates node correspondence.

SetSelection(IEnumerable<DbObject>)

Highlight objects in the TD graphics window.

public void SetSelection(IEnumerable<DbObject> items)

Parameters

items IEnumerable<DbObject>

SetSelection(IEnumerable<string>)

Highlight objects by handle in the TD graphics window.

public void SetSelection(IEnumerable<string> itemHandles)

Parameters

itemHandles IEnumerable<string>

SetUnits(UnitsData)

Sets OpenTD WorkingUnits and the TD dwg units.

public void SetUnits(UnitsData x)

Parameters

x UnitsData

The units.

SetView(IsoViews)

public void SetView(IsoViews view)

Parameters

view IsoViews

SetView(OrthoViews)

public void SetView(OrthoViews view)

Parameters

view OrthoViews

SetView(string)

public void SetView(string namedView)

Parameters

namedView string

SetVisualStyle(VisualStyles)

Sets the AutoCAD visual style.

public void SetVisualStyle(VisualStyles style)

Parameters

style VisualStyles

The style.

ShowModelBrowser()

public void ShowModelBrowser()

SnapMeasures(IEnumerable<string>)

public void SnapMeasures(IEnumerable<string> handles)

Parameters

handles IEnumerable<string>

UpdateFromTD()

public void UpdateFromTD()

UpdateGraphics()

Calls the TD Updates Graphics command.

public void UpdateGraphics()

UpdateMeasures()

public void UpdateMeasures()

ZoomExtents()

Zooms the view to the extents of the model.

public void ZoomExtents()

_Scratchpad()

Do not use.

public void _Scratchpad()

Connect with Ansys