Click or drag to resize

CableVoltageProbe Class

A probe that measures the current on an MHARNESS cable element.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseCableVoltageProbe
    ema3d.Api.V25.CablingCableVoltageProbe

Namespace: ema3d.Api.V25.Cabling
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class CableVoltageProbe : APISimObjectBase<CableVoltageProbe>, 
	IHasSegment, IHasCable, IHasTime

The CableVoltageProbe type exposes the following members.

Properties
 NameDescription
Public propertyCable The cable this probe is attached to.
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyLocation Location on a segment
Public propertyTEnd Gets/Sets end time.
Public propertyTStart Gets/Sets start time.
Public propertyTStep Gets/Sets time step.
Top
Methods
 NameDescription
Public methodStatic memberCreate Creates a new CableVoltageProbe attached to the given cable.
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 CableVoltageProbe 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 methodMove(IAPICable) Move this probe to a new cable at the given location.
Public methodMove(SegmentLocation) Move this probe to a new location.
Public methodMove(SegmentLocation, IAPICable) Move this probe to a new location and cable.
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
Example
Python
from ema3d.Api.V25.Cabling import CableVoltageProbe as CableVoltageProbe
import ema3d.Api.V25.Cabling as Cabling
# create SegmentLocation and attach to an IAPICable
_loc = Cabling.SegmentLocation.CreateRelative(trimmed_curve, 0.5) # Create a location at the middle of a curve
_vprobe = CableVoltageProbe.Create(_loc, api_cable)
_vprobe.DisplayName = "API Cable Voltage Probe"
See Also