ContactSets.add Method
Parent Object:
ContactSetsDefined in namespace "adsk::fusion" and the header file is <Fusion/Components/ContactSets.h>
Description
Creates a new contact set for the provided occurrences and/or bodies.
Syntax
"contactSets_var" is a variable referencing a ContactSets object.returnValue = contactSets_var.add(occurrencesAndBodies)
|
"contactSets_var" is a variable referencing a ContactSets object.
#include <Fusion/Components/ContactSets.h>
returnValue = contactSets_var->add(occurrencesAndBodies);
|
Return Value
ContactSet |
Returns the newly created ContactSet or null in the case of failure. |
Parameters
occurrencesAndBodies |
Base[] |
An array of Occurrence or BRepBody objects that will be included in the contact set. All occurrences and bodies must be in the context of the root component. |
Samples
Version
Introduced in version September 2016