CanBeSwapped Method


Fabrication Configuration Can Be Swapped Method

Checks if the fabrication configuration can be swapped.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanBeSwapped()

Return Value

Boolean
True if the fabrication configuration can be swapped, false otherwise.
Remarks
Swapping configuration is not permitted if the existing configuration has already been used to create fabrication part elements in the document.
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 →