Click or drag to resize

ThinWire Class

A thin wire in EMA3D. Thin wires occupy less than 1 cell and are not part of the MHARNESS transmission line integration.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseThinWire
    ema3d.Api.V25.CablingThinWire

Namespace: ema3d.Api.V25.Cabling
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class ThinWire : APISimObjectBase<ThinWire>, 
	IHasRouting

The ThinWire type exposes the following members.

Properties
 NameDescription
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyInductance Gets/Sets the inductance of the thin wire definition
Public propertyRadius Gets/Sets the radius of the thin wire definition.
Public propertyResistance Gets/Sets the resistance of the thin wire definition
Public propertyRouting Gets the routing associated with this object.
Top
Methods
 NameDescription
Public methodDelete Deletes sim object.
(Inherited from APISimObjectBaseTWrapper)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetAll Retrieve all ThinWire objects in the document.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetName Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodGetSiblings Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetName Sets the name of the object
(Inherited from APISimObjectBaseTWrapper)
Public methodSetVisibility Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks

Thin wires possess many of the same properties as MHARNESS conductors, but cannot have child elements, do not follow standard MHARNESS deconfliction practices, and cannot have MHARNESS probes/sources attached to them.

Due to the above, thin wires do not implement IAPICable.

Example
Python
from ema3d.Api.V25.Cabling import ThinWire as ThinWire
# Get a thin wire, modify properties
_thinwire = ThinWire.GetAll()[0]
_thinwire.Radius = 0.0025
_thinwire.Resistance = 0.0135
See Also