![]() | Pin |
The PinCurrent 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) |
![]() | Document |
The document an object exists in.
(Inherited from ExcitationBaseT) |
![]() | End | The end of the Segment this source lies on. |
![]() | Segment | The segment this item is located on. |
![]() | Simulation |
The Simulation an object exists in.
(Inherited from ExcitationBaseT) |
Name | Description | |
---|---|---|
![]() ![]() | Create | Create a new PinCurrent source at a given segment and cable end. |
![]() | 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 PinCurrent objects in the document. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetLocation | Gets the point location of this element. |
![]() | 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 | Move this source to a new segment and end. |
![]() | 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.Excitation import PinCurrent as PinCurrent import ema3d.Api.V25.Cabling as Cabling # Grab an existing conductor and attach a new pincurrent source _cond = Cabling.Conductor.GetAll()[0] _pincurrent = PinCurrent.Create(segment, Cabling.Excitation.EndType.Start, _cond) _pincurrent.DisplayName = "Test Pin Current" # Attach a new signal to the data _sine = Signals.SineSquaredSignal.Create() _sine.AttachTo(_pincurrent)