Click or drag to resize

PinCurrentCreate Method

Create a new PinCurrent source at a given segment and cable end.

Namespace: ema3d.Api.V25.Cabling.Excitation
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public static PinCurrent Create(
	IHasTrimmedCurve segment,
	EndType end,
	IAPICable cable
)

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