EditCurrent

Modifies a current source.

UI Access Double-click the excitation in the project tree to modify its settings.
Parameters
Name Type Description
<ExcitationName> String Name of the excitation to be edited.
<CurrentArray> Array Structured array.

Array("NAME:<BoundName>",

"Current:=", <value>,

<DirectionArray>,

"TerminalIDLit:=", Array() )

    <DirectionArray> Array Structured array.

Array("NAME:Direction",

"Start:=", <LineEndPoint>,

"End:=", <LineEndPoint>)

Return Value None.

 

Python Syntax EditCurrent (<ExcitationName>, <CurrentArray>)
Python Example

oModule.EditCurrent("Current1",

["NAME:Current2",

"Current:=", "1000mA",

["NAME:Direction",

"Start:=", [-0.4, 0.4, -1.6],

"End:=", [-0.4, 0.4, 0]

]

])