GetRevitUIFamilyLoadOptions Method


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: 2015.0.0.0 (2015.0.0.0)

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

See Also