NewElectricalSystem Specify Voltage & Poles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to create an electrical system on an element when the Voltage & Poles parameters are instance parameters. The following works when those parameters are Type parameters, however the voltage is set to 0V when voltage is an instance parameter. The Voltage parameter on an electrical system is read only. Is there a way to do this?
//Works when Voltage & Poles are type parameters, returns 0V & 1 Pole when Volts & Poles are instance parameters
// es is an electrical fixture
newCircuit = doc.Create.NewElectricalSystem(es, ElectricalSystemType.PowerCircuit);
In the UI when Voltage & Poles are instance parameters you have this dialog to choose the value.
I would like to use the value of the Voltage & Poles instance parameters. I have looked around the MEPmodel, ConnectorManager, etc but can't seem to find a way to specify the voltage & poles?
Any input would be appreciated. Thanks.