AddWireMaterialType Method


Add a new type of wire material.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public WireMaterialType AddWireMaterialType(
	string name,
	WireMaterialType baseMaterial
)
Visual Basic
Public Function AddWireMaterialType ( _
	name As String, _
	baseMaterial As WireMaterialType _
) As WireMaterialType
Visual C++
public:
WireMaterialType^ AddWireMaterialType(
	String^ name, 
	WireMaterialType^ baseMaterial
)

Parameters

name
Type: System String
Name of new material type.
baseMaterial
Type: Autodesk.Revit.DB.Electrical WireMaterialType
Specify an existing material type which New material will be constructed based on.

Return Value

New added wire material type object.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →