Revit 2025.3 API
FamilyCan |
Checks whether the document is in a state that allows the loading of families.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool CanLoadFamilies( Document document )
Public Shared Function CanLoadFamilies ( document As Document ) As Boolean
public: static bool CanLoadFamilies( Document^ document )
static member CanLoadFamilies : document : Document -> bool
Parameters
- document Document
- The document to check.
Return Value
BooleanTrue if loading of families is allowed, otherwise False.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also