Skip to content

IFamilyLoadOptions

Public Interface

An interface class which provide the callback for family load options.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public interface IFamilyLoadOptions

The IFamilyLoadOptions type exposes the following members.

Methods

Name

Description


Public Method
OnFamilyFound

A method called when the family was found in the target document.


Public Method
OnSharedFamilyFound

A method called when the shared family was found in the target document.


Remarks

If the family is not loaded, or if the family is loaded but unchanged, the situation will never trigger and OnFamilyFound(Boolean, Boolean.) and OnSharedFamilyFound(Family, Boolean, FamilySource., Boolean.) will not be called. Only if the family is loaded and changed should the interface methods be called.