BRepShell.volume Property

Parent Object: BRepShell
Defined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepShell.h>

Description

Returns the volume in cm ^ 3. Returns 0 in the case the shell is not solid.

Syntax

"bRepShell_var" is a variable referencing a BRepShell object.

# Get the value of the property.
propertyValue = bRepShell_var.volume
"bRepShell_var" is a variable referencing a BRepShell object.
#include <Fusion/BRep/BRepShell.h>

// Get the value of the property.
double propertyValue = bRepShell_var->volume();

Property Value

This is a read only property whose value is a double.

Version

Introduced in version August 2014