Return the option object that allows you to use Revit's dialog boxes to let the user respond to questions that arise during loading of families.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static IFamilyLoadOptions GetRevitUIFamilyLoadOptions()
Return Value
IFamilyLoadOptionsExceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if this API method is invoked in UI less mode |