Skip to content

SolidSolidCutUtils.IsAllowedForSolidCut

Public Class

Validates that the element is eligible for a solid-solid cut.

Namespace: Autodesk.Revit.DB

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

Syntax

public static bool IsAllowedForSolidCut(
Element element
)

Parameters

element Element

The solid to be cut or the cutting solid.

Return Value

Boolean
True if the input element can participate in a solid-solid cut. False otherwise.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


Remarks

The element must be solid and must be a GenericForm, GeomCombination, or a FamilyInstance.