ContactSet.occurencesAndBodies Property

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

Description

Gets and sets the group of Occurrence and/or BRepBody objects that are part of this contact set.

Syntax

"contactSet_var" is a variable referencing a ContactSet object.

# Get the value of the property.
propertyValue = contactSet_var.occurencesAndBodies

# Set the value of the property.
contactSet_var.occurencesAndBodies = propertyValue
"contactSet_var" is a variable referencing a ContactSet object.
#include <Fusion/Components/ContactSet.h>

// Get the value of the property.
std::vector<Ptr<Base>> propertyValue = contactSet_var->occurencesAndBodies();

// Set the value of the property, where value_var is a Base.
bool returnValue = contactSet_var->occurencesAndBodies(value_var);

Property Value

This is a read/write property whose value is an array of type Base.

Version

Introduced in version September 2016