ObsoleteAddWireMaterialType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use ConductorMaterial.Create() instead.
[ObsoleteAttribute("AddWireMaterialType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use ConductorMaterial.Create() instead.")]
publicWireMaterialTypeAddWireMaterialType(
stringname,
WireMaterialTypebaseMaterial
)
<ObsoleteAttribute("AddWireMaterialType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use ConductorMaterial.Create() instead.")>
PublicFunctionAddWireMaterialType (
nameAsString,
baseMaterialAsWireMaterialType
) AsWireMaterialType
public:
[ObsoleteAttribute(L"AddWireMaterialType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use ConductorMaterial.Create() instead.")]
WireMaterialType^ AddWireMaterialType(
String^ name,
WireMaterialType^ baseMaterial
)
[<ObsoleteAttribute("AddWireMaterialType is deprecated in Revit 2026 and will be removed in a future version of Revit. Please use ConductorMaterial.Create() instead.")>]
memberAddWireMaterialType :
name : string *
baseMaterial : WireMaterialType->WireMaterialType
Specify an existing material type which New material will be constructed based on.
Return Value→WireMaterialTypeNew added wire material type object.
Thanks for the report.
Erik will look at it. You can keep using the site.
Embed this page
Sections to include
Theme
Adds a tiny script so the iframe grows to fit its content. Some sites (Medium, Notion) strip scripts, leave this off for those and the embed scrolls inside a fixed height.