OnFamilyFound Method


IFamily Load Options On Family Found Method

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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
bool OnFamilyFound(
	bool familyInUse,
	out bool overwriteParameterValues
)

Parameters

familyInUse Boolean
Indicates if one or more instances of the family is placed in the project.
overwriteParameterValues Boolean
This determines whether or not to overwrite the parameter values of existing types. The default value is false.

Return Value

Boolean
Return true to continue loading the family, false to cancel.
Remarks
Triggered only when the family is both loaded and changed.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →