CutPasteBodies.add Method
Parent Object:
CutPasteBodiesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/CutPasteBodies.h>
Description
Cuts and copies the specified body into the component that owns this CutPasteBodies collection. This is effectively the equivalent of moving a body.
Syntax
"cutPasteBodies_var" is a variable referencing a CutPasteBodies object.returnValue = cutPasteBodies_var.add(sourceBody)
|
"cutPasteBodies_var" is a variable referencing a CutPasteBodies object.
#include <Fusion/Features/CutPasteBodies.h>
returnValue = cutPasteBodies_var->add(sourceBody);
|
Return Value
CutPasteBody |
Returns the newly created BRepBody object or null in the case of failure. |
Parameters
sourceBody |
Base |
Either an ObjectCollection of BRepBodies or a single BRepBody object to cut. |
Version
Introduced in version June 2017