SelectedWires Function

Returns an array of strings holding the handles of selected wires.

Arguments

Number Type Compulsory Default Description
1 real No -1 Schematic ID

Argument 1

Schematic ID as returned by the OpenSchematic function. This allows this function to be used with a schematic that is not open or not currently selected. If equal to -1, the currently selected schematic will be used.

Returns

Return type: string array

Returns selected wire handles. The function will return an empty vector if no schematic is open or the supplied schematic id is invalid