BRepBody.convertToSheetMetal Method

Parent Object: BRepBody

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepBody.h>

Description

Converts the current BRepBody to a sheet metal body. This is applicable only if the body is not already a sheet metal body (isSheetMetal is false).

Syntax

"bRepBody_var" is a variable referencing a BRepBody object.
returnValue = bRepBody_var.convertToSheetMetal(baseFace, sheetMetalRule)
"bRepBody_var" is a variable referencing a BRepBody object.

#include <Fusion/BRep/BRepBody.h>

returnValue = bRepBody_var->convertToSheetMetal(baseFace, sheetMetalRule);

Return Value

Type Description
boolean Returns true if the conversion was successful. Returns false in the case of failure.

Parameters

Name Type Description
baseFace BRepFace Specifies a BRepFace that will be used to determine the thickness of the body.
sheetMetalRule SheetMetalRule If the parent component is a standard component, this method will convert it to a sheet metal component. The specified design or library sheet metal rule will be copied and applied as the active sheet metal rule of the sheet metal component. The Thickness value of the copied sheet metal rule will be changed to the thickness determined by the baseFace of this BRepBody. If the parent component is already a sheet metal component, this argument will be ignored and the active sheet metal rule will be used.

Samples

Name Description
Convert To Sheet Metal Sample Demonstrates finding the thickness of a body at a face and converting a BRepBody to sheet metal.

Version

Introduced in version May 2026