Cable |
The CableCurrentProbe type exposes the following members.
| Name | Description | |
|---|---|---|
| Cable | The cable this item is attached to. | |
| DisplayName |
Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper) | |
| Location | Location on a segment | |
| TEnd | Gets/Sets end time. | |
| TStart | Gets/Sets start time. | |
| TStep | Gets/Sets time step. |
| Name | Description | |
|---|---|---|
| Create | Creates a new CableCurrentProbe attached to the given cable. | |
| Delete |
Deletes sim object.
(Inherited from APISimObjectBaseTWrapper) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetAll | Retrieve all CableCurrentProbe objects in the document. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetName |
Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper) | |
| GetSiblings |
Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document)) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Move(IAPICable) | Move this probe to a new cable at the given location. | |
| Move(SegmentLocation) | Move this probe to a new location. | |
| Move(SegmentLocation, IAPICable) | Move this probe to a new location and cable. | |
| SetName |
Sets the name of the object
(Inherited from APISimObjectBaseTWrapper) | |
| SetVisibility |
Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
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)