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

Syntax

C#
public static IFamilyLoadOptions GetRevitUIFamilyLoadOptions()
Visual Basic
Public Shared Function GetRevitUIFamilyLoadOptions As IFamilyLoadOptions
Visual C++
public:
static IFamilyLoadOptions^ GetRevitUIFamilyLoadOptions()

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationExceptionThrown if this API method is invoked in UI less mode

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →