Skip to content

BooleanOperationsUtils

Public Class

These utilities are applicable for the geometry created by GeometryCreationUtilities and the geometry of Revit model.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.BooleanOperationsUtils

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class BooleanOperationsUtils : IDisposable

The BooleanOperationsUtils type exposes the following members.

Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method
Static Member

Creates a new Solid which is the intersection of the input Solid with the half-space on the positive side of the given Plane. The positive side of the plane is the side to which Plane.Normal points.


Public Method
Static Member
CutWithHalfSpaceModifyingOriginalSolid

Modifies the input Solid preserving only the volume on the positive side of the given Plane. The positive side of the plane is the side to which Plane.Normal points.


Public Method

Releases all resources used by the BooleanOperationsUtils


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method
Static Member
Code Example

Perform a boolean geometric operation between two solids, and return a new solid to represent the result.


Public Method
Static Member
ExecuteBooleanOperationModifyingOriginalSolid

Perform a boolean geometric operation between two solids, and modify the original solid to represent the result.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)