SolidSolidCutUtils.CanElementCutElement
Method
Description:
Verifies if the cutting element can add a solid cut to the target element.
Verifies if the cutting element can add a solid cut to the target element.
Syntax
public static bool CanElementCutElement(
Element cuttingElement,
Element cutElement,
out CutFailureReason reason
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| cuttingElement | Element | The cutting element. |
| cutElement | Element | The element to be cut. |
| reason | CutFailureReason | The reason that the cutting element cannot add a solid cut to the cut element. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the cutting element can add a solid cut to the target element, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |