CutWithHalfSpace
Method
Description:
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.
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| solid | Autodesk.Revit.DB.Solid | The input Solid to be cut. |
| plane | Autodesk.Revit.DB.Plane | The cut plane. The space on the positive side of the normal of the plane will be intersected with the input Solid. |
Return Value
| Type | Description |
|---|---|
| Autodesk.Revit.Exceptions.ArgumentNullException | The newly created Solid. |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions.ArgumentNullException | A non-optional argument was null |