M

ConductorSize.GetConductorSize

Description:
Gets the Conductor Size data by given Conductor Size id.
public static ConductorSize GetConductorSize(
	Document document,
	ElementId conductorSizeId
)
Return Value ConductorSize The Conductor Size data.
  • document is not a project document. -or- The id is not a Conductor Size 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).