ElectricalSystem.NewWires
Method
Description:
Create a bunch of wires for the electrical system.
Create a bunch of wires for the electrical system.
Parameters
Parameter | Type | Description |
---|---|---|
view | View | The view in which the wire is to be visible. |
wiringType | WiringType | Specify the wiring type (Arc or Chamfer) that is to be applied to all newly created wires. |
Return Value
Type | Description |
---|---|
WireSet | New created wires |
Exceptions
Exception | Condition |
---|---|
ArgumentException | This method can only be used to create a bunch of wires according to specific pairs of elements, so if there exists aelement in any pair of familyInstancePairs, the exception will be thrown. |