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

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 Family The shared family in the current family document.
familyInUse Boolean Indicates if one or more instances of the family is placed in the project.
source FamilySource This indicates if the family will load from the project or the current family.
overwriteParameterValues Boolean This indicates whether or not to overwrite the parameter values of existing types.
Return Value
Type Description
Boolean Return true to continue loading the family, false to cancel.