A sweep in a design option cannot be hosted by an element in the Main Model [--if you continue it will not be added to the design option set].
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static FailureDefinitionId ConfusingSweepByElementsInMainModel { get; }Property Value
FailureDefinitionId
See Also
Reference