Assembly: OpenTD.dll Represents one instance of Thermal Desktop. This is the top-level class for interacting with OpenTD.
Inheritance
object ← ThermalDesktopImplements
ITdConsoleInherited Members
object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Constructors
ThermalDesktop(string)
Parameters
dwgPathname string
ThermalDesktop()
Properties
CaseSetManager
The Case Set Manager. While case sets can be worked with directly, the Case Set Manager is used to set global case set options. It can also be used to run multiple cases in TD batch mode.Property Value
CaseSetManagerSee Also
CaseSetManagerConnectConfig
Controls how Connect() will try to connect to TD.Property Value
TdConnectConfigDatasetManager
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.Property Value
DatasetManagerSee Also
DatasetManagerOpticalPropAliasManager
The optical property alias manager.Property Value
OpticalPropAliasManagerSee Also
OpticalPropAliasManagerProgressBar
Use to show progress of a procedure in TD.Property Value
ProgressBarSee Also
ProgressBarRadiationAnalysisGroupManager
The radiation analysis group manager.Property Value
RadiationAnalysisGroupManagerSee Also
RadiationAnalysisGroupManagerStackAliasManager
The stack alias manager.Property Value
StackAliasManagerSee Also
StackAliasManagerThermoPropAliasManager
The thermophysical property alias manager.Property Value
ThermoPropAliasManagerSee Also
ThermoPropAliasManagerUCS
Gets or sets AutoCAD’s User Coordinate System (UCS). Note: most OpenTD positions are defined relative to the World Coordinate System (WCS), so setting the UCS will have no effect on how entities are positioned. One exception is the PostProcessingDataMapper, which can be positioned relative to the UCS.Property Value
UCSSee Also
DataMapperUserPreferences
Use this to get/set selected global user preferences, such as dwg units and acceleration.Property Value
UserPreferencesVisibilityManager
Use to manage the visibility of entities in a TD instance.Property Value
VisibilityManagerMethods
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.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.CaptureGraphicsArea()
Captures the AutoCAD graphics area. Known issue: if AutoCAD is in fast-shaded mode then this command will return an all-black image if visual style is set to SHADED, SHADED_W_EDGES, or WIRE.Returns
Bitmap Bitmap.ClearSelection()
Connect()
Connect to an instance of TD using the options specified in ConnectConfig.See Also
ThermalDesktop.ConnectConfigConnect(TdConnectConfig)
Set ConnectConfig to the supplied TdConnectConfig and call Connect().Parameters
connectConfig TdConnectConfig
Connect(string)
Set ConnectConfig.DwgPathname to the supplied path and call Connect().Parameters
dwgPathname string
ConnectAsync()
Connect to an instance of TD asynchronously using the options specified in ConnectConfig.Returns
TaskSee Also
ThermalDesktop.ConnectConfigConvertFDtoFE(IEnumerable<string>)
Convert FD entities (with edge nodes) to FE meshesParameters
handles IEnumerable<string>
CreateAcEllipse()
Creates a new Ellipse in this Thermal Desktop instance.Returns
AcEllipseSee Also
AcEllipseCreateArc()
Creates a new Arc in this Thermal Desktop instance.Returns
ArcSee Also
ArcCreateArrayInterpolation(IEnumerable<double>, IEnumerable<double>, string)
Creates a new ArrayInterpolation using defaults from this TD instance.Parameters
xValues IEnumerable<double>
yValues IEnumerable<double>
outputSymbol string
Returns
ArrayInterpolationSee Also
UserArrayCreateAssembly(Point3d)
Creates a new Assembly using defaults from this TD instance.Parameters
origin Point3d
Returns
AssemblySee Also
AssemblyCreateCappmp(Connection, Connection, Connection)
Creates a new cappmp using defaults from this TD instance.Parameters
fromLump Connection
toLump Connection
Node Connection
Returns
CappmpSee Also
CappmpCreateCaseSet(string, string, string)
Creates a new Case Set using defaults from this TD instance.Parameters
name string
groupName string
sindaFilenames string
Returns
CaseSetSee Also
CaseSetCreateCircle()
Creates a new Circle in this Thermal Desktop instance.Returns
CircleSee Also
CircleCreateCompartment(List<List<Connection>>, List<List<Connection>>)
Creates a new Compartment using defaults from this TD instance.Parameters
volumes List<List<Connection>>
surfaces List<List<Connection>>
Returns
CompartmentSee Also
CompartmentCreateConductor(Connection, Connection)
Creates a new Conductor using defaults from this TD instance.Parameters
from Connection
to Connection
Returns
ConductorSee Also
ConductorCreateConductor(Connection, IEnumerable<Connection>)
Creates a new Conductor using defaults from this TD instance.Parameters
from Connection
to IEnumerable<Connection>
Returns
ConductorSee Also
ConductorCreateCone()
Creates a new Cone using defaults from this TD instance.Returns
ConeSee Also
ConeCreateContactor(IEnumerable<Connection>, IEnumerable<Connection>)
Creates a new Contactor using defaults from this TD instance.Parameters
from IEnumerable<Connection>
to IEnumerable<Connection>
Returns
ContactorSee Also
ContactorCreateContactor(Connection, IEnumerable<Connection>)
Creates a new Contactor using defaults from this TD instance.Parameters
from Connection
to IEnumerable<Connection>
Returns
ContactorSee Also
ContactorCreateContactor(IEnumerable<Connection>, Connection)
Creates a new Contactor using defaults from this TD instance.Parameters
from IEnumerable<Connection>
to Connection
Returns
ContactorSee Also
ContactorCreateContactor(Connection, Connection)
Creates a new Contactor using defaults from this TD instance.Parameters
from Connection
to Connection
Returns
ContactorSee Also
ContactorCreateCylinder()
Creates a new Cylinder using defaults from this TD instance.Returns
CylinderSee Also
CylinderCreateDbIterator(bool, bool, bool, bool, bool)
Creates an iterator for walking the AutoCAD entity database.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.Returns
DiskSee Also
DiskCreateEllipse()
Creates a new Ellipse using defaults from this TD instance.Returns
EllipseSee Also
EllipseCreateEllipsoid()
Creates a new Ellipsoid using defaults from this TD instance.Returns
EllipsoidSee Also
EllipsoidCreateEllipticCone()
Creates a new EllipticCone using defaults from this TD instance.Returns
EllipticConeSee Also
EllipticConeCreateEllipticCylinder()
Creates a new EllipticCylinder using defaults from this TD instance.Returns
EllipticCylinderSee Also
EllipticCylinderCreateFEMeshImporter(string, bool)
Creates a new FEMeshImporter.Parameters
name string
useCurrentUCS bool
Returns
FEMeshImporterSee Also
FEMeshImporterCreateFTie(Connection, Connection, Connection, FTieTypes)
Creates a new FTie using defaults from this TD instance.Parameters
AttachedLumpC Connection
AttachedLumpD Connection
AttachedPath Connection
FTieType RcFTieData.FTieTypes
Returns
FTieSee Also
FTieCreateFkLocator(string, Point3d)
Creates a new FkLocator using defaults from this TD instance.Parameters
attachedHandle string
origin Point3d
Returns
FkLocatorSee Also
FkLocatorCreateFluidSubmodel(string)
Creates a new fluid submodel using defaults from this TD instance.Parameters
name string
Returns
FluidSubmodelSee Also
FluidSubmodelCreateHeatLoad(IEnumerable<Connection>)
Creates a new HeatLoad using defaults from this TD instance.Parameters
applyConnections IEnumerable<Connection>
Returns
HeatLoadSee Also
HeatLoadCreateHeatLoad(Connection)
Creates a new HeatLoad using defaults from this TD instance.Parameters
applyConnection Connection
Returns
HeatLoadSee Also
HeatLoadCreateHeater(IEnumerable<Connection>, IEnumerable<Connection>)
Creates a new Heater using defaults from this TD instance.Parameters
applyConnections IEnumerable<Connection>
sensorConnections IEnumerable<Connection>
Returns
HeaterSee Also
HeaterCreateHelix()
Creates a new Helix in this Thermal Desktop instance.Returns
HelixSee Also
HelixCreateIFace(Connection, Connection)
Creates a new IFace using defaults from this TD instance.Parameters
TankA Connection
TankB Connection
Returns
IFaceSee Also
IFaceCreateLayer(string)
Creates a new Layer using defaults from this TD instance.Parameters
name string
Returns
LayerSee Also
LayerCreateLine(Point3d, Point3d)
Creates a new Line in this TD instance.Parameters
pointA Point3d
pointB Point3d
Returns
LineSee Also
LineCreateLinearBrick(IEnumerable<string>)
Creates a new LinearBrick using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
LinearBrickSee Also
LinearBrickCreateLinearPyramid(IEnumerable<string>)
Creates a new LinearPyramid using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
LinearPyramidSee Also
LinearPyramidCreateLinearQuad(IEnumerable<string>)
Creates a new LinearQuad using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
LinearQuadSee Also
LinearQuadCreateLinearTet(IEnumerable<string>)
Creates a new LinearTet using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
LinearTetSee Also
LinearTetCreateLinearTri(IEnumerable<string>)
Creates a new LinearTri using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
LinearTriSee Also
LinearTriCreateLinearWedge(IEnumerable<string>)
Creates a new LinearWedge using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
LinearWedgeSee Also
LinearWedgeCreateLump()
Creates a new Lump using defaults from this TD instance.Returns
LumpSee Also
LumpCreateMaterialStack(string)
Creates a new Material Stack using defaults from this TD instance.Parameters
caseSensitiveName string
Returns
MaterialStackSee Also
MaterialStackCreateMeasure()
Creates a new Measure using defaults from this TD instance.Returns
MeasureSee Also
MeasureCreateMeshFD(IEnumerable<Face>, IEnumerable<Point3d>)
Creates a new MeshFD using defaults from this TD instance.Parameters
faces IEnumerable<Face>
vertices IEnumerable<Point3d>
Returns
MeshFDSee Also
MeshFDCreateNode()
Creates a new Node using defaults from this TD instance.Returns
NodeSee Also
NodeCreateNode(Point3d)
Creates a new Node with a given origin using defaults from this TD instance.Parameters
origin Point3d
Returns
NodeSee Also
Node, Point3dCreateOffsetParaboloid()
Creates a new OffsetParaboloid using defaults from this TD instance.Returns
OffsetParaboloidSee Also
OffsetParaboloidCreateOgive()
Creates a new Ogive using defaults from this TD instance.Returns
OgiveSee Also
OgiveCreateOpticalProps(string)
Creates a new optical property using defaults from this TD instance.Parameters
caseSensitiveName string
Returns
OpticalPropsSee Also
OpticalPropsCreateOrbit(string)
Creates a new orbit using defaults from this TD instance.Parameters
name string
Returns
OrbitSee Also
OrbitCreatePID()
Creates a new PID using defaults from this TD instance.Returns
PIDSee Also
PIDCreateParabolicTrough()
Creates a new ParabolicTrough using defaults from this TD instance.Returns
ParabolicTroughSee Also
ParabolicTroughCreateParaboloid()
Creates a new Paraboloid using defaults from this TD instance.Returns
ParaboloidSee Also
ParaboloidCreatePath(Connection, Connection, PathTypes, bool)
Creates a new Path using defaults from this TD instance.Parameters
from Connection
to Connection
pType RcPathData.PathTypes
twinPath bool
Returns
PathSee Also
PathCreatePipe(DbObject)
Parameters
centerline DbObject
Returns
PipeCreatePipe(IEnumerable<string>)
Creates a new Pipe using defaults from this TD instance.Parameters
centerlineHandles IEnumerable<string>
Returns
PipeSee Also
PipeCreatePolygon(IEnumerable<Point3d>)
Creates a new single-face MeshFD using defaults from this TD instance.Parameters
vertices IEnumerable<Point3d>
Returns
PolygonSee Also
PolygonCreatePolyline()
Creates a new LWPolyline in this Thermal Desktop instance.Returns
PolylineSee Also
PolylineCreatePolyline3d(IEnumerable<Point3d>, bool)
Creates a new 3d polyline in this Thermal Desktop instance.Parameters
vertices IEnumerable<Point3d>
closed bool
Returns
Polyline3dSee Also
Polyline3dCreatePort(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.Parameters
connection Connection
Returns
PortSee Also
PortCreatePostProcessingDataMapper(string, ModelLength, FileFormats, bool, string, bool)
Creates a new PostProcessingDataMapper using defaults from this TD instance.Parameters
inputPathname string
inputUnit UnitsData.ModelLength
inputFileFormat DataMapper.FileFormats
loadGroupsFromPatran bool
patranPathname string
useUCS bool
Returns
DataMapperSee Also
DataMapperCreatePressureLoad(IEnumerable<Connection>)
Creates a new PressureLoad using defaults from this TD instance.Parameters
appliedTo IEnumerable<Connection>
Returns
PressureLoadSee Also
PressureLoadCreateQuadraticBrick(IEnumerable<string>)
Creates a new QuadraticBrick using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
QuadraticBrickSee Also
QuadraticBrickCreateQuadraticPyramid(IEnumerable<string>)
Creates a new QuadraticPyramid using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
QuadraticPyramidSee Also
QuadraticPyramidCreateQuadraticQuad(IEnumerable<string>)
Creates a new QuadraticQuad using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
QuadraticQuadSee Also
QuadraticQuadCreateQuadraticTet(IEnumerable<string>)
Creates a new QuadraticTet using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
QuadraticTetSee Also
QuadraticTetCreateQuadraticTri(IEnumerable<string>)
Creates a new QuadraticTri using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
QuadraticTriSee Also
QuadraticTriCreateQuadraticWedge(IEnumerable<string>)
Creates a new QuadraticWedge using defaults from this TD instance.Parameters
nodeHandles IEnumerable<string>
Returns
QuadraticWedgeSee Also
QuadraticWedgeCreateRectangle()
Creates a new Rectangle using defaults from this TD instance.Returns
RectangleSee Also
RectangleCreateScarfedCone()
Creates a new ScarfedCone using defaults from this TD instance.Returns
ScarfedConeSee Also
ScarfedConeCreateScarfedCylinder()
Creates a new ScarfedCylinder using defaults from this TD instance.Returns
ScarfedCylinderSee Also
ScarfedCylinderCreateSolidBrick()
Creates a new SolidBrick using defaults from this TD instance.Returns
SolidBrickSee Also
SolidBrickCreateSolidCone()
Creates a new SolidCone using defaults from this TD instance.Returns
SolidConeSee Also
SolidConeCreateSolidCylinder()
Creates a new SolidCylinder using defaults from this TD instance.Returns
SolidCylinderSee Also
SolidCylinderCreateSolidEllipsoid()
Creates a new SolidEllipsoid using defaults from this TD instance.Returns
SolidEllipsoidSee Also
SolidEllipsoidCreateSolidSphere()
Creates a new SolidSphere using defaults from this TD instance.Returns
SolidSphereSee Also
SolidSphereCreateSphere()
Creates a new Sphere using defaults from this TD instance.Returns
SphereSee Also
SphereCreateSpline()
Creates a new Spline in this Thermal Desktop instance.Returns
SplineSee Also
SplineCreateSubmodel(string)
Creates a new Submodel using defaults from this TD instance.Parameters
name string
Returns
SubmodelSee Also
SubmodelCreateSymbol(string, string)
Creates a new Symbol using defaults from this TD instance.Parameters
name string
value string
Returns
SymbolSee Also
SymbolCreateTec(IEnumerable<Connection>, IEnumerable<Connection>)
Creates a new Tec using defaults from this TD instance.Parameters
from IEnumerable<Connection>
to IEnumerable<Connection>
Returns
TecSee Also
TecCreateTec(Connection, IEnumerable<Connection>)
Creates a new Tec using defaults from this TD instance.Parameters
from Connection
to IEnumerable<Connection>
Returns
TecSee Also
TecCreateTec(IEnumerable<Connection>, Connection)
Creates a new Tec using defaults from this TD instance.Parameters
from IEnumerable<Connection>
to Connection
Returns
TecSee Also
TecCreateTec(Connection, Connection)
Creates a new Tec using defaults from this TD instance.Parameters
from Connection
to Connection
Returns
TecSee Also
TecCreateTee(IEnumerable<string>, string)
Creates a new Tee from a main branch and side branch using defaults from this TD instance.Parameters
mainBranchHandles IEnumerable<string>
sideBranchHandle string
Returns
TeeSee Also
TeeCreateTee(IEnumerable<string>, Point3d)
Creates a new Tee from a main branch and a location using defaults from this TD instance.Parameters
mainBranchHandles IEnumerable<string>
origin Point3d
Returns
TeeSee Also
TeeCreateText(string)
Creates a new Text annotation using defaults from this TD instance.Parameters
text string
Returns
TextSee Also
TextCreateThermoProps(string)
Creates a new ThermoProps using defaults from this TD instance.Parameters
caseSensitiveName string
Returns
ThermoPropsSee Also
ThermoPropsCreateTie(IEnumerable<Connection>, IEnumerable<Connection>, IEnumerable<string>)
Creates a new Tie using defaults from this TD instance.Parameters
thermals IEnumerable<Connection>
lumps IEnumerable<Connection>
paths IEnumerable<string>
Returns
TieSee Also
TieCreateTorus()
Creates a new Torus using defaults from this TD instance.Returns
TorusSee Also
TorusCreateTracker(Point3d)
Creates a new Tracker using defaults from this TD instance.Parameters
origin Point3d
Returns
TrackerSee Also
TrackerCreateUDFACollection()
Creates a new UDFACollection using defaults from this TD instance.Returns
UDFACollectionSee Also
UDFACollectionCreateUserArray(SubmodelNameData, int, IEnumerable<double>)
Creates a new UserArray using defaults from this TD instance.Parameters
submodel SubmodelNameData
arrayId int
singletArray IEnumerable<double>
Returns
UserArraySee Also
UserArrayCreateUserCode()
Creates a new UserCode using defaults from this TD instance.Returns
UserCodeSee Also
UserCodeDeleteCaseSet(string, string)
Deletes a Case Set within this TD instance.Parameters
caseName string
groupName string
See Also
CaseSetDeleteEntity(TdDbEntityData)
Deletes a TD/AutoCAD entity from the AutoCAD database.Parameters
x TdDbEntityData
The entity to delete.
DeleteFluidSubmodel(string)
Deletes a fluid submodel within this TD instance.Parameters
name string
See Also
FluidSubmodelDeleteLayer(string)
Deletes a Layer within this TD instance.Parameters
name string
See Also
LayerDeleteLogicObject(string)
Deletes a LogicObject within this TD instance.Parameters
handle string
See Also
LogicObjectDeleteMaterialStack(string)
Deletes a Material Stack within this TD instance.Parameters
caseSensitiveName string
See Also
MaterialStackDeleteOpticalProps(string)
Deletes an optical property within this TD instance.Parameters
caseSensitiveName string
See Also
OpticalPropsDeleteOrbit(string)
Deletes an orbit within this TD instance.Parameters
name string
See Also
OrbitDeleteSubmodel(string)
Deletes a Submodel within this TD instance.Parameters
name string
See Also
SubmodelDeleteSymbol(string)
Deletes a Symbol within this TD instance.Parameters
name string
See Also
SymbolDeleteThermoProps(string)
Deletes a ThermoProps within this TD instance.Parameters
caseSensitiveName string
See Also
ThermoPropsDisableUndo()
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.Parameters
x ExportNodeInfoOptionsData
Options.
Returns
List<string>Filter<T>(List<T>, Predicate<T>)
Filters the specified input list using a predicate/rule.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.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
AcEllipseSee Also
AcEllipseGetAcEllipses(bool)
Gets all the Ellipses in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<AcEllipse>See Also
AcEllipseGetArc(string, bool)
Gets an existing Arc from this TD instance.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
ArcSee Also
ArcGetArcs(bool)
Gets all the Arcs in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Arc>See Also
ArcGetAssemblies(bool)
Gets all the Assemblys in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Assembly>See Also
AssemblyGetAssembly(string, bool)
Gets an existing Assembly from this TD instance.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
AssemblySee Also
AssemblyGetAutocadVariable(string, out int)
Gets the autocad variable.Parameters
name string
The name.
value int
The value.
Exceptions
OpenTDException Autocad variable ” + name + ” is of type ” + rawValue.Type + ”, not INTGetAutocadVariable(string, out double)
Gets the autocad variable.Parameters
name string
The name.
value double
The value.
Exceptions
OpenTDException Autocad variable ” + name + ” is of type ” + rawValue.Type + ”, not DOUBLEGetAutocadVariable(string, out string)
Gets the autocad variable.Parameters
name string
The name.
value string
The value.
Exceptions
OpenTDException Autocad variable ” + name + ” is of type ” + rawValue.Type + ”, not STRINGGetCappmp(string, bool)
Gets an existing cappmp from this TD instance.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
CappmpSee Also
CappmpGetCappmps(bool)
Gets all the cappmps in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Cappmp>See Also
CappmpGetCaseSet(string, string)
Gets an existing Case Set from this TD instance.Parameters
name string
groupName string
Returns
CaseSetSee Also
CaseSetGetCaseSets()
Gets all the Case Sets in this TD instance.Returns
List<CaseSet>See Also
CaseSetGetCircle(string, bool)
Gets an existing Circle from this TD instance.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
CircleSee Also
CircleGetCircles(bool)
Gets all the Circles in this TD instance.Parameters
searchXREFS bool
if set to true also seCircleh XREF’s referenced in this TD instance.
Returns
List<Circle>See Also
CircleGetCommandHistory()
Gets the AutoCAD command history. Note: this command will modify your Windows Clipboard.Returns
string System.String.GetCompartment(string, bool)
Gets an existing Compartment from this TD instance.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
CompartmentSee Also
CompartmentGetCompartments(bool)
Gets all the Compartments in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Compartment>See Also
CompartmentGetConductor(string, bool)
Gets an existing Conductor from this TD instance.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
ConductorSee Also
ConductorGetConductors(bool)
Gets all the Conductors in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Conductor>See Also
ConductorGetCone(string, bool)
Gets an existing Cone from this TD instance.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
ConeSee Also
ConeGetCones(bool)
Gets all the Cones in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Cone>See Also
ConeGetContactor(string, bool)
Gets an existing Contactor from this TD instance.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
ContactorSee Also
ContactorGetContactors(bool)
Gets all the Contactors in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Contactor>See Also
ContactorGetCurrentDwgPathname()
Returns
stringGetCurrentLayer()
Get the current layer from this TD instance.Returns
LayerGetCurrentWorkingDirectory()
Returns
stringGetCylinder(string, bool)
Gets an existing Cylinder from this TD instance.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
CylinderSee Also
CylinderGetCylinders(bool)
Gets all the Cylinders in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Cylinder>See Also
CylinderGetDisk(string, bool)
Gets an existing Disk from this TD instance.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
DiskSee Also
DiskGetDisks(bool)
Gets all the Disks in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Disk>See Also
DiskGetDomainManager()
Gets an IDomainManager for working with domains in this TD instance.Returns
IDomainManager IDomainManager.See Also
IDomainManagerGetDwgUnits()
Gets the TD units. Deprecated. Use ThermalDesktop.UserPreferences.Units instead.Returns
UnitsData UnitsData.GetDynamicSindaStatus()
Returns
DynamicSindaStatusGetEllipse(string, bool)
Gets an existing Ellipse from this TD instance.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
EllipseSee Also
EllipseGetEllipses(bool)
Gets all the Ellipses in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Ellipse>See Also
EllipseGetEllipsoid(string, bool)
Gets an existing Ellipsoid from this TD instance.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
EllipsoidSee Also
EllipsoidGetEllipsoids(bool)
Gets all the Ellipsoids in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Ellipsoid>See Also
EllipsoidGetEllipticCone(string, bool)
Gets an existing EllipticCone from this TD instance.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
EllipticConeSee Also
EllipticConeGetEllipticCones(bool)
Gets all the Cones in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<EllipticCone>See Also
EllipticConeGetEllipticCylinder(string, bool)
Gets an existing EllipticCylinder from this TD instance.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
EllipticCylinderSee Also
EllipticCylinderGetEllipticCylinders(bool)
Gets all the EllipticCylinders in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<EllipticCylinder>See Also
EllipticCylinderGetEntityType(string)
Use to determine the entity type (“RcNode”, “RcRectangle”, and so on) for a handle.Parameters
handle string
Returns
EntityDescriptorGetEntityTypes(IEnumerable<string>)
Use to determine the entity types (“RcNode”, “RcRectangle”, and so on) for a list of handles.Parameters
handles IEnumerable<string>
Returns
List<EntityDescriptor>GetFEMeshImporter(string, bool)
Gets an existing FEMeshImporter from this TD instance.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
FEMeshImporterSee Also
FEMeshImporterGetFEMeshImporters(bool)
Gets all the FEMeshImporters in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<FEMeshImporter>See Also
FEMeshImporterGetFTie(string, bool)
Gets an existing FTie from this TD instance.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
FTieSee Also
FTieGetFTies(bool)
Gets all the FTies in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<FTie>See Also
FTieGetFkLocator(string, bool)
Gets an existing FkLocator from this TD instance.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
FkLocatorSee Also
FkLocatorGetFkLocators(bool)
Gets all the FkLocators in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<FkLocator>See Also
FkLocatorGetFluidSubmodel(string)
Gets an existing fluid submodel from this TD instance.Parameters
name string
Returns
FluidSubmodelSee Also
FluidSubmodelGetFluidSubmodels(bool)
Gets all the fluid submodels in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<FluidSubmodel>See Also
FluidSubmodelGetHeatLoad(string, bool)
Gets an existing HeatLoad from this TD instance.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
HeatLoadSee Also
HeatLoadGetHeatLoads(bool)
Gets all the HeatLoads in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<HeatLoad>See Also
HeatLoadGetHeater(string, bool)
Gets an existing Heater from this TD instance.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
HeaterSee Also
HeaterGetHeaters(bool)
Gets all the Heaters in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Heater>See Also
HeaterGetHelices(bool)
Gets all the Helixs in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Helix>See Also
HelixGetHelix(string, bool)
Gets an existing Helix from this TD instance.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
HelixSee Also
HelixGetIFace(string, bool)
Gets an existing IFace from this TD instance.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
IFaceSee Also
IFaceGetIFaces(bool)
Gets all the IFaces in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<IFace>See Also
IFaceGetInstanceDataListString()
Use the Set/GetInstanceData methods to store general data with this OpenTD server.Returns
List<string>GetLayer(string)
Gets an existing Layer from this TD instance. Note: this method accecpts an AutoCAD handle, not a layer name.Parameters
handle string
Returns
LayerSee Also
LayerGetLayerByName(string)
Gets an existing Layer from this TD instance, based on the layer name.Parameters
name string
Returns
LayerGetLayers(bool)
Gets all the Layers in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Layer>See Also
LayerGetLine(string, bool)
Gets an existing Line from this TD instance.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
LineSee Also
LineGetLinearBrick(string, bool)
Gets an existing LinearBrick from this TD instance.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
LinearBrickSee Also
LinearBrickGetLinearBricks(bool)
Gets all the LinearBricks in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LinearBrick>See Also
LinearBrickGetLinearPyramid(string, bool)
Gets an existing LinearPyramid from this TD instance.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
LinearPyramidSee Also
LinearPyramidGetLinearPyramids(bool)
Gets all the LinearPyramids in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LinearPyramid>See Also
LinearPyramidGetLinearQuad(string, bool)
Gets an existing LinearQuad from this TD instance.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
LinearQuadSee Also
LinearQuadGetLinearQuads(bool)
Gets all the LinearQuads in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LinearQuad>See Also
LinearQuadGetLinearTet(string, bool)
Gets an existing LinearTet from this TD instance.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
LinearTetSee Also
LinearTetGetLinearTets(bool)
Gets all the LinearTets in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LinearTet>See Also
LinearTetGetLinearTri(string, bool)
Gets an existing LinearTri from this TD instance.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
LinearTriSee Also
LinearTriGetLinearTris(bool)
Gets all the LinearTris in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LinearTri>See Also
LinearTriGetLinearWedge(string, bool)
Gets an existing LinearWedge from this TD instance.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
LinearWedgeSee Also
LinearWedgeGetLinearWedges(bool)
Gets all the LinearWedges in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LinearWedge>See Also
LinearWedgeGetLines(bool)
Gets all the Lines in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Line>See Also
LineGetLogicObjects(bool)
Gets all the LogicObjects in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<LogicObject>See Also
LogicObjectGetLump(string, bool)
Gets an existing Lump from this TD instance.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
LumpSee Also
LumpGetLumps(bool)
Gets all the Lumps in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Lump>See Also
LumpGetMainWindow()
Gets a NativeWindow representing the TD main window. This can be used as an input to Form.Show to make the form a child of the TD window. Especially useful for AddIns to ensure they are displayed on top of the TD window and close nicely when TD closes.Returns
NativeWindowGetMaterialStack(string)
Gets an existing Material Stack from this TD instance.Parameters
caseSensitiveName string
Returns
MaterialStackSee Also
MaterialStackGetMaterialStacks(bool)
Gets all the Material Stacks in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<MaterialStack>See Also
MaterialStackGetMeasure(string, bool)
Gets an existing Measure from this TD instance.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
MeasureSee Also
MeasureGetMeasureMappingTolerances()
Gets the mapping tolerances used by Measures in this TD instance.Returns
MeasureMappingTolerancesSee Also
MeasureGetMeasures(bool)
Gets all the Measures in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Measure>See Also
MeasureGetMeshFD(string, bool)
Gets an existing MeshFD from this TD instance.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
MeshFDSee Also
MeshFDGetMeshFDs(bool)
Gets all the MeshFDs in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<MeshFD>See Also
MeshFDGetModel()
Gets a Model representing all OpenTD-supported entities in this TD instance.Returns
Model Model.See Also
ModelGetNode(string, bool)
Gets an existing Node from this TD instance.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
NodeSee Also
NodeGetNodeCorrespondenceMap()
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.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.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Node>See Also
NodeGetNotes()
Gets the dwg notes from this TD instance.Returns
NotesSee Also
NotesGetNumberOfDbObjects(bool, bool, bool, bool, bool)
Parameters
forward bool
modelSpace bool
xRefs bool
paperSpace bool
tdOnly bool
Returns
intGetOffsetParaboloid(string, bool)
Gets an existing OffsetParaboloid from this TD instance.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
OffsetParaboloidSee Also
OffsetParaboloidGetOffsetParaboloids(bool)
Gets all the OffsetParaboloids in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<OffsetParaboloid>See Also
OffsetParaboloidGetOgive(string, bool)
Gets an existing Ogive from this TD instance.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
OgiveSee Also
OgiveGetOgives(bool)
Gets all the Ogives in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Ogive>See Also
OgiveGetOpticalPropDBPathname()
Gets the pathname of the current optical property database file in use by this TD instance.Returns
stringGetOpticalProps(string)
Gets an existing optical property from this TD instance.Parameters
name string
Returns
OpticalPropsSee Also
OpticalPropsGetOpticalPropss(bool)
Gets all the optical properties in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<OpticalProps>See Also
OpticalPropsGetOrbit(string)
Gets an existing orbit from this TD instance.Parameters
name string
Returns
OrbitSee Also
OrbitGetOrbits()
Gets all the orbits in this TD instance.Returns
List<Orbit>See Also
OrbitGetParabolicTrough(string, bool)
Gets an existing ParabolicTrough from this TD instance.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
ParabolicTroughSee Also
ParabolicTroughGetParabolicTroughs(bool)
Gets all the ParabolicTroughs in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<ParabolicTrough>See Also
ParabolicTroughGetParaboloid(string, bool)
Gets an existing Paraboloid from this TD instance.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
ParaboloidSee Also
ParaboloidGetParaboloids(bool)
Gets all the Paraboloids in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Paraboloid>See Also
ParaboloidGetPath(string, bool)
Gets an existing Path from this TD instance.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
PathSee Also
PathGetPaths(bool)
Gets all the Paths in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Path>See Also
PathGetPipe(string, bool)
Gets an existing Pipe from this TD instance.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
PipeSee Also
PipeGetPipes(bool)
Gets all the Pipes in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Pipe>See Also
PipeGetPolygon(string)
Gets an existing single-face MeshFD from this TD instance.Parameters
handle string
An AutoCAD handle attached to a single-face MeshFD in this TD instance.
Returns
PolygonSee Also
PolygonGetPolygons(bool)
Gets all the Polygons in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Polygon>See Also
PolygonGetPolyline(string, bool)
Gets an existing LWPolyline from this TD instance.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
PolylineSee Also
PolylineGetPolyline3d(string, bool)
Gets an existing 3d polyline from this TD instance.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
Polyline3dSee Also
Polyline3dGetPolyline3ds(bool)
Gets all the 3d polylines in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Polyline3d>See Also
Polyline3dGetPolylines(bool)
Gets all the LWPolylines in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Polyline>See Also
PolylineGetPort(string, bool)
Gets an existing Port from this TD instance.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
PortSee Also
PortGetPorts(bool)
Gets all the Ports in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Port>See Also
PortGetPostProcessingDataMapper(string, bool)
Gets an existing PostProcessingDataMapper from this TD instance.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
DataMapperSee Also
DataMapperGetPostProcessingDataMappers(bool)
Gets all the PostProcessingDataMappers in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<DataMapper>See Also
DataMapperGetPressureLoad(string, bool)
Gets an existing PressureLoad from this TD instance.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
PressureLoadSee Also
PressureLoadGetPressureLoads(bool)
Gets all the PressureLoads in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<PressureLoad>See Also
PressureLoadGetQuadraticBrick(string, bool)
Gets an existing QuadraticBrick from this TD instance.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
QuadraticBrickSee Also
QuadraticBrickGetQuadraticBricks(bool)
Gets all the QuadraticBricks in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<QuadraticBrick>See Also
QuadraticBrickGetQuadraticPyramid(string, bool)
Gets an existing QuadraticPyramid from this TD instance.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
QuadraticPyramidSee Also
QuadraticPyramidGetQuadraticPyramids(bool)
Gets all the QuadraticPyramids in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<QuadraticPyramid>See Also
QuadraticPyramidGetQuadraticQuad(string, bool)
Gets an existing QuadraticQuad from this TD instance.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
QuadraticQuadSee Also
QuadraticQuadGetQuadraticQuads(bool)
Gets all the QuadraticQuads in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<QuadraticQuad>See Also
QuadraticQuadGetQuadraticTet(string, bool)
Gets an existing QuadraticTet from this TD instance.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
QuadraticTetSee Also
QuadraticTetGetQuadraticTets(bool)
Gets all the QuadraticTets in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<QuadraticTet>See Also
QuadraticTetGetQuadraticTri(string, bool)
Gets an existing QuadraticTri from this TD instance.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
QuadraticTriSee Also
QuadraticTriGetQuadraticTris(bool)
Gets all the QuadraticTris in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<QuadraticTri>See Also
QuadraticTriGetQuadraticWedge(string, bool)
Gets an existing QuadraticWedge from this TD instance.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
QuadraticWedgeSee Also
QuadraticWedgeGetQuadraticWedges(bool)
Gets all the QuadraticWedges in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<QuadraticWedge>See Also
QuadraticWedgeGetRectangle(string, bool)
Gets an existing Rectangle from this TD instance.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
RectangleSee Also
RectangleGetRectangles(bool)
Gets all the Rectangles in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Rectangle>See Also
RectangleGetScarfedCone(string, bool)
Gets an existing ScarfedCone from this TD instance.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
ScarfedConeSee Also
ScarfedConeGetScarfedCones(bool)
Gets all the ScarfedCones in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<ScarfedCone>See Also
ScarfedConeGetScarfedCylinder(string, bool)
Gets an existing ScarfedCylinder from this TD instance.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
ScarfedCylinderSee Also
ScarfedCylinderGetScarfedCylinders(bool)
Gets all the ScarfedCylinders in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<ScarfedCylinder>See Also
ScarfedCylinderGetSelection(SelectionOptions)
Prompts the user to select entities in TD graphically, or from the Model Browser, or from Domains or AutoCAD Groups.Parameters
options SelectionOptions
Returns
List<EntityDescriptor>See Also
SelectionOptionsGetSelection()
Prompts the user to select entities in TD using default SelectionOptions.Returns
List<EntityDescriptor>See Also
SelectionOptionsGetSolidBrick(string, bool)
Gets an existing SolidBrick from this TD instance.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
SolidBrickSee Also
SolidBrickGetSolidBricks(bool)
Gets all the SolidBricks in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<SolidBrick>See Also
SolidBrickGetSolidCone(string, bool)
Gets an existing SolidCone from this TD instance.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
SolidConeSee Also
SolidConeGetSolidCones(bool)
Gets all the SolidCones in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<SolidCone>See Also
SolidConeGetSolidCylinder(string, bool)
Gets an existing SolidCylinder from this TD instance.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
SolidCylinderSee Also
SolidCylinderGetSolidCylinders(bool)
Gets all the SolidCylinders in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<SolidCylinder>See Also
SolidCylinderGetSolidEllipsoid(string, bool)
Gets an existing SolidEllipsoid from this TD instance.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
SolidEllipsoidSee Also
SolidEllipsoidGetSolidEllipsoids(bool)
Gets all the SolidEllipsoids in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<SolidEllipsoid>See Also
SolidEllipsoidGetSolidSphere(string, bool)
Gets an existing SolidSphere from this TD instance.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
SolidSphereSee Also
SolidSphereGetSolidSpheres(bool)
Gets all the SolidSpheres in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<SolidSphere>See Also
SolidSphereGetSphere(string, bool)
Gets an existing Sphere from this TD instance.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
SphereSee Also
SphereGetSpheres(bool)
Gets all the Spheres in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Sphere>See Also
SphereGetSpline(string, bool)
Gets an existing Spline from this TD instance.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
SplineSee Also
SplineGetSplines(bool)
Gets all the Splines in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Spline>See Also
SplineGetSubmodels(bool)
Gets all the Submodels in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Submodel>See Also
SubmodelGetSymbol(string)
Gets an existing Symbol from this TD instance.Parameters
name string
Returns
SymbolSee Also
SymbolGetSymbolValue(string)
Gets an evaluated symbol value from this TD instance. Throws an OpenTDException if symbol does not exist.Parameters
name string
The name.
Returns
double System.Double.GetSymbols()
Gets all the Symbols in this TD instance.Returns
List<Symbol>See Also
SymbolGetTec(string, bool)
Gets an existing Tec from this TD instance.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
TecSee Also
TecGetTecs(bool)
Gets all the Tecs in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Tec>See Also
TecGetTee(string, bool)
Gets an existing Tee from this TD instance.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
TeeSee Also
TeeGetTees(bool)
Gets all the Tees in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Tee>See Also
TeeGetText(string, bool)
Gets an existing Text annotation from this TD instance.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
TextSee Also
TextGetTexts(bool)
Gets all the Text annotations in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Text>See Also
TextGetThermalDesktopVersion()
Gets the thermal desktop version.Returns
string System.String.GetThermoPropDBPathname()
Gets the pathname of the current thermophysical property database file in use by this TD instance.Returns
stringGetThermoProps(string)
Gets an existing ThermoProps from this TD instance.Parameters
name string
Returns
ThermoPropsSee Also
ThermoPropsGetThermoPropss(bool)
Gets all the ThermoProps in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<ThermoProps>See Also
ThermoPropsGetTie(string, bool)
Gets an existing Tie from this TD instance.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
TieSee Also
TieGetTies(bool)
Gets all the Ties in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Tie>See Also
TieGetTorus(string, bool)
Gets an existing Torus from this TD instance.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
TorusSee Also
TorusGetToruses(bool)
Gets all the Toruss in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Torus>See Also
TorusGetTracker(string, bool)
Gets an existing Tracker from this TD instance.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
TrackerSee Also
TrackerGetTrackers(bool)
Gets all the Trackers in this TD instance.Parameters
searchXREFS bool
if set to true also search XREF’s referenced in this TD instance.
Returns
List<Tracker>See Also
TrackerGetViewNames()
Gets the names of the AutoCAD named views in this TD instance.Returns
List<string>GetXREFpathnames()
Returns
List<XrefInfo>HideModelBrowser()
IsConnected()
Determines whether this ThermalDesktop is connected to an instance of TD.Returns
booltrue if this instance is connected; otherwise, false.
MergeNodes(MergeNodesOptionsData)
Calls the TD Merge Nodes command.Parameters
x MergeNodesOptionsData
Options.
OpenOpticalPropDB(string)
Opens an optical property database file.Parameters
pathname string
The rco pathname.
OpenThermoPropDB(string)
Opens a thermophysical property database file.Parameters
pathname string
The tdp pathname.
Print(string)
Prints the specified text to the AutoCAD commandline, without automatically adding a newline.Parameters
text string
The text.
Quit(bool)
Quits TD without saving the dwg. If ForceKillProcess is true, it will just kill the acad.exe process. This may leave lock files in the dwg directory and/or have other unintended consequences.Parameters
ForceKillProcess bool
ResetGraphics()
Calls the TD Reset Graphics command.RestoreIsoView(IsoViews)
Restores the view to one of the standard isometric views defined by AutoCAD.Parameters
view IsoViews
The view.
RestoreOrthoView(OrthoViews)
Restores the view to one of the standard orthographic views defined by AutoCAD.Parameters
view OrthoViews
The view.
RestoreView(string)
Restores the view to an AutoCAD named view.Parameters
viewName string
Name of the view.
SaveAs(string)
Saves the dwg. Automatically overwrites existing file at pathname.Parameters
pathname string
The pathname.
SendCommand(string, bool, int)
Sends an AutoCAD command.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.Parameters
command string
delay int
Delay in ms to wait after sending command. (Some legacy COM commands are executed asynchronously.)
Returns
stringRemarks
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.Parameters
name string
The name.
value int
The value.
SetAutocadVariable(string, double)
Sets an autocad variable that takes a double value.Parameters
name string
The name.
value double
The value.
SetAutocadVariable(string, string)
Sets an autocad variable that takes a string value.Parameters
name string
The name.
value string
The value.
SetCurrentLayer(string)
Parameters
name string
SetDwgUnits(UnitsData, bool)
Sets the dwg units. Deprecated. Use ThermalDesktop.UserPreferences.Units instead.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.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.Parameters
map Dictionary<string, List<string>>
See Also
ThermalDesktop.SetNodeCorrespondenceState(bool), ThermalDesktop.GetNodeCorrespondenceMap()SetNodeCorrespondenceState(bool)
Turns node correspondence on or off.Parameters
activated bool
if set to true activates node correspondence.
SetSelection(IEnumerable<DbObject>)
Highlight objects in the TD graphics window.Parameters
items IEnumerable<DbObject>
SetSelection(IEnumerable<string>)
Highlight objects by handle in the TD graphics window.Parameters
itemHandles IEnumerable<string>
SetUnits(UnitsData)
Sets OpenTD WorkingUnits and the TD dwg units.Parameters
x UnitsData
The units.
SetView(IsoViews)
Parameters
view IsoViews
SetView(OrthoViews)
Parameters
view OrthoViews
SetView(string)
Parameters
namedView string
SetVisualStyle(VisualStyles)
Sets the AutoCAD visual style.Parameters
style VisualStyles
The style.
ShowModelBrowser()
SnapMeasures(IEnumerable<string>)
Parameters
handles IEnumerable<string>