BRepBodies.count Property

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

Description

Returns the number of bodies in the collection.

Syntax

"bRepBodies_var" is a variable referencing a BRepBodies object.

# Get the value of the property.
propertyValue = bRepBodies_var.count
"bRepBodies_var" is a variable referencing a BRepBodies object.
#include <Fusion/BRep/BRepBodies.h>

// Get the value of the property.
uinteger propertyValue = bRepBodies_var->count();

Property Value

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

Samples

Name Description
Delete Empty Components Deletes empty components from the active design.
Get Volume of Active Design API Sample Traverses through the active design and totals the volume of every body within the design.

Version

Introduced in version August 2014