Python; Create new circuit in panel and assign electrical elements to circuit

Hei André! Just write ElectricalSystemType.x and replace the x with one of the following types.

image

They are called Enumerations and are constant variables (immutable/not changeable), if you want to use a string input to choose from you can use the Enum.Parse() method. See an example here.

3 Likes