2027 Method
Changes 0
M

IFamilyLoadOptions.OnSharedFamilyFound

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