M

ElectricalSetting.AddWireMaterialType

Description:
Add a new type of wire material.
[ObsoleteAttribute("AddWireMaterialType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use ConductorMaterial.Create() instead.")]
public WireMaterialType AddWireMaterialType(
	string name,
	WireMaterialType baseMaterial
)
  • String
    name
    Name of new material type.
  • baseMaterial
    Specify an existing material type which New material will be constructed based on.
Return Value WireMaterialType New added wire material type object.