Element.GetMaterialVolume
Description:
Gets the volume of the material with the given id.
Gets the volume of the material with the given id.
public double GetMaterialVolume(
ElementId materialId
)
-
materialIdThe material id returned from GetMaterialIds(Boolean).
Return Value
double
The volume of the material for this element. Returns 0.0 if the material is not a part of this element.
-
materialId is not a valid Element identifier.
-
A non-optional argument was NULL