Click or drag to resize

CableCurrentProbe Class

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

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

The CableCurrentProbe type exposes the following members.

Properties
 NameDescription
Public propertyCable The cable this item 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 CableCurrentProbe 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 CableCurrentProbe 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 CableCurrentProbe as CableCurrentProbe
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
_iprobe = CableCurrentProbe.Create(_loc, api_cable)
See Also