BRepBodyDefinition.createBody Method
Parent Object:
BRepBodyDefinitionDefined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepBodyDefinition.h>
Description
Attempts to create a temporary BRepBody object using the definition provided by this BRepBodyDefinition object. Properties on this BRepBodyDefinition are used to define some of the criteria that control how the body is created.
Syntax
"bRepBodyDefinition_var" is a variable referencing a BRepBodyDefinition object.returnValue = bRepBodyDefinition_var.createBody()
|
"bRepBodyDefinition_var" is a variable referencing a BRepBodyDefinition object.
#include <Fusion/BRep/BRepBodyDefinition.h>
returnValue = bRepBodyDefinition_var->createBody();
|
Return Value
BRepBody |
Returns the newly created BRepBody object if successful, otherwise null is returned. Information about the body creation can be obtained by using the outcomeInfo property. The outcom info is especially useful when initially writing and debugging your code to understand why the creation of the body is failing. |
Samples
Version
Introduced in version September 2020