ToposolidSetCutVoidStability Method |
Enables or disables the setting for stability of Boolean operations for Toposolid elements.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static void SetCutVoidStability(
Document document,
bool enable
)
Public Shared Sub SetCutVoidStability (
document As Document,
enable As Boolean
)
public:
static void SetCutVoidStability(
Document^ document,
bool enable
)
static member SetCutVoidStability :
document : Document *
enable : bool -> unit
Parameters
- document Document
-
The document.
- enable Boolean
-
True means enable cut void stability setting, otherwise disable.
Exceptions
Remarks
The stability setting increases the chance of cut and void operation success by applying a random shift
(a hyper-random testing action where the computer shifts the cut-void along the x or y axis, starting from the minimum distance).
Enabling this may slightly impact the accuracy of the geometry.
When used, the voided geometry is changed, and will be reported in a warning.
Please note that success cannot be guaranteed for Boolean operations when this setting is enabled.
See Also