ConductorMaterial.GetConductorMaterial
Description:
Gets the Conductor Material data by given Conductor Material id.
Gets the Conductor Material data by given Conductor Material id.
public static ConductorMaterial GetConductorMaterial(
Document document,
ElementId conductorMaterialId
)
-
documentThe document.
-
conductorMaterialIdThe Conductor Material id.
-
document is not a project document. -or- The id is not a Conductor Material id.
-
A non-optional argument was null
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements).