Share

Toposolid.SetCutVoidStability Method

Enables or disables the setting for stability of Boolean operations for Toposolid elements.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)

Syntax

C#

public static void SetCutVoidStability(
	Document document,
	bool enable
)

Parameters

document  Document
The document.
enable  Boolean
True means enable cut void stability setting, otherwise disable.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

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

Reference

Was this information helpful?