Share

CutPasteBodies.add Method

Parent Object: CutPasteBodies
Defined 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)

Return Value

Type Description
CutPasteBody Returns the newly created BRepBody object or null in the case of failure.

Parameters

Name Type Description
sourceBody Base Either an ObjectCollection of BRepBodies or a single BRepBody object to cut.

Version

Introduced in version June 2017

Was this information helpful?