 | PinCurrentCreate Method |
Create a new
PinCurrent source at a given segment and cable end.
Namespace: ema3d.Api.V25.Cabling.ExcitationAssembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntaxpublic static PinCurrent Create(
IHasTrimmedCurve segment,
EndType end,
IAPICable cable
)
Public Shared Function Create (
segment As IHasTrimmedCurve,
end As EndType,
cable As IAPICable
) As PinCurrent
public:
static PinCurrent^ Create(
IHasTrimmedCurve^ segment,
EndType end,
IAPICable^ cable
)
static member Create :
segment : IHasTrimmedCurve *
end : EndType *
cable : IAPICable -> PinCurrent
Parameters
- segment IHasTrimmedCurve
- The cable segment to place the source on.
- end EndType
- The end of the curve to place the source on.
- cable IAPICable
- The cable to attach the source to.
Return Value
PinCurrent
Remarks
The start of a cable indicates the "0" value for segment location parameter,
the end is the other side. Cable sources should be placed on the ends of routes, there
is not inherent error-handling within this method, so some created sources may not be
valid if placed in an improper location.
See Also