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::drawing" and the header file is <Drawing/Sheet/Sheet.h>
Description
Automatically adds break view windows on the specified drawing views. Break placement uses the same cellmap-based logic as drawing automation Auto Break: empty spans along the long axis of each view are detected and converted into break windows.
"sheet_var" is a variable referencing a Sheet object.
returnValue = sheet_var.autoBreak(views)
"sheet_var" is a variable referencing a Sheet object.
#include <Drawing/Sheet/Sheet.h>
returnValue = sheet_var->autoBreak(views);
"sheet_var" is a variable referencing a Sheet object.
returnValue = sheet_var.autoBreak(views);
Return Value
Type
Description
boolean
Returns true if break windows were applied successfully on every view in the array. Returns false when views is null, empty, contains a null element, or when any view could not be broken.
Parameters
Name
Type
Description
views
View[]
One or more views to break. Each view must belong to this sheet (Sheet.views). For view chains where breaks propagate from the parent, specify a view in the chain; breaks are applied on the appropriate parent view when required.