ConvertFromInternalVolume

double ConvertFromInternalVolume(this Document doc, double internalValue)

Converts a volume from internal units (cubic feet) to the document's display units.

Parameters

  • docDocument

    The Revit document instance.

  • internalValuedouble

    The volume value in internal units (cubic feet).

Returns: The converted volume value in the document's display units.

Example

double internalVolume = 200.0; // ft³
double displayVolume = doc.ConvertFromInternalVolume(internalVolume);