Click or drag to resize

Harness Class

A harness object that exists within a document.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseHarness
    ema3d.Api.V25.CablingHarness

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

The Harness type exposes the following members.

Properties
 NameDescription
Public propertyApproximate Gets/Sets or not to use low frequency approximation.
Public propertyDefaultConnectorType The default type of connector energy transfer to use at ends in a harness.
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyFilamentNumber Gets/Sets harness filament number.
Public propertyHarnessPad Gets/Sets the padding to add to elements when packing a harness cross-section.
Public propertyHeight Gets/Sets offset from ground plane (1D/Standalone only)
Public propertyIsWeaklyCoupled Gets/Sets if harness should be weakly coupled with main document.
Public propertyOuterLayerConnectivity 
Public propertyOverrideDefaultConnectorType Whether to override the default connector type.
Public propertyPackingFactor Gets/Sets harness packing factor.
Public propertySegments All curves that are a part of the routing for children of this harness.
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 Harness objects in the document.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetInstance Gets the existing harness within a document or creates a new one if one does not exist.
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
Documents can only have one instance of a harness.
Example
Python
from ema3d.Api.V25.Cabling import Harness as Harness
# Get harness instance and configure some options
_harn = Harness.GetInstance()
_harn.Approximate = True
_harn.PackingFactor = 0.75
_harn.FilamentNumber = 40
See Also