ElectricalSetting.AddWireType
Method
Description:
Add a new wire type to project.
Add a new wire type to project.
Remarks:
Parameter of temperatureRating should be retrieved from parameter of materialType, and parameters such as insulation and maxSize should be retrieved from temperatureRating. otherwise, this add operation is most likely to fail.
Parameter of temperatureRating should be retrieved from parameter of materialType, and parameters such as insulation and maxSize should be retrieved from temperatureRating. otherwise, this add operation is most likely to fail.
Syntax
public WireType AddWireType(
string name,
WireMaterialType materialType,
TemperatureRatingType temperatureRating,
InsulationType insulation,
WireSize maxSize,
double neutralMultiplier,
bool neutralRequired,
NeutralMode neutralMode,
WireConduitType conduit
)
Parameters
Parameter | Type | Description |
---|---|---|
name | String | Name of the new wire type. |
materialType | WireMaterialType | Wire material of new wire type. |
temperatureRating | TemperatureRatingType | Temperature rating type information of new wire type. |
insulation | InsulationType | Insulation of new wire type. |
maxSize | WireSize | Max wire size of new wire type. |
neutralMultiplier | Double | Neutral multiplier of new wire type. |
neutralRequired | Boolean | Specify whether neutral point is required. |
neutralMode | NeutralMode | Specify neutral mode. |
conduit | WireConduitType | Conduit type of new wire type. |
Return Value
Type | Description |
---|---|
WireType | New added wire type object. |