Note: This API is now obsolete.
[ObsoleteAttribute("
AddWireType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use WireType.Duplicate() instead.
WireMaterialType object can no longer set to the WireType, use property WireType.WireMaterial instead.
TemperatureRatingType object can no longer set to the WireType, use property WireType.TemperatureRating instead.
InsulationType object can no longer set to the WireType, use property WireType.Insulation instead.
MaxSize object can no longer set to the WireType, use property WireType.MaxSize instead.
")]
public WireType AddWireType(
string name,
WireMaterialType materialType,
TemperatureRatingType temperatureRating,
InsulationType insulation,
WireSize maxSize,
double neutralMultiplier,
bool neutralRequired,
NeutralMode neutralMode,
WireConduitType conduit
)