CanElementBeSplit Method


Rebar Can Element Be Split Method

Checks if the element is a rebar that can be split.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static bool CanElementBeSplit(
	Document document,
	ElementId elementIdToCheck
)

Parameters

document Document
The document
elementIdToCheck ElementId
The elementId that need to be checked

Return Value

Boolean
Returns true if the element is a Rebar that can be split, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks

Free Form Rebars other than 3D Path or Morphed, rebar sets with only one bar included or rebars that are part of a group can't be split.

Morphed Free Form Rebars that targets Spiral or Lapped Circle shapes can't be split.

See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →