| Revit 2020 API |
| UIDocument..::..GetRevitUIFamilyLoadOptions Method |
| UIDocument Class See Also |
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: 20.0.0.0 (20.0.0.377)
Syntax
| C# |
|---|
public static IFamilyLoadOptions GetRevitUIFamilyLoadOptions() |
| Visual Basic |
|---|
Public Shared Function GetRevitUIFamilyLoadOptions As IFamilyLoadOptions |
| Visual C++ |
|---|
public: static IFamilyLoadOptions^ GetRevitUIFamilyLoadOptions() |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Thrown if this API method is invoked in UI less mode |