Revit 2026 API
Built | 
   A sweep in the main model cannot be hosted by an element in a Design Option [--if you continue it will not be added to the design option set].
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static FailureDefinitionId ConfusingSweepByElementsInDesignOptionWarn { get; }
Public Shared ReadOnly Property ConfusingSweepByElementsInDesignOptionWarn As FailureDefinitionId Get
public: static property FailureDefinitionId^ ConfusingSweepByElementsInDesignOptionWarn { FailureDefinitionId^ get (); }
static member ConfusingSweepByElementsInDesignOptionWarn : FailureDefinitionId with get
Property Value
FailureDefinitionIdSee Also