RVTDocs.com
Namespace: Autodesk.Revit.DB Interface: IFamilyLoadOptions

OnSharedFamilyFound

Method
Description:
A method called when the shared family was found in the target document.
Remarks:
Triggered only when the family is both loaded and changed.
Syntax
bool OnSharedFamilyFound(
	Family sharedFamily,
	bool familyInUse,
	out FamilySource source,
	out bool overwriteParameterValues
)
Parameters
Parameter Type Description
sharedFamily Autodesk.Revit.DB.Family The shared family in the current family document.
familyInUse System.Boolean Indicates if one or more instances of the family is placed in the project.
source Autodesk.Revit.DB.FamilySource This indicates if the family will load from the project or the current family.
overwriteParameterValues System.Boolean% This indicates whether or not to overwrite the parameter values of existing types.
Return Value
Type Description
IFamilyLoadOptions Interface Return true to continue loading the family, false to cancel.