An interface class which provide the callback for family load options.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public interface IFamilyLoadOptions
The IFamilyLoadOptions type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | OnFamilyFound | A method called when the family was found in the target document. |
![]() | 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.