This 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).
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.