Batch Auditing Families

Hey @erfajo,

That looks a lot like what I’m trying to do! I’m very new to Python so I kind of just needed a place to start and that looks like it! I’ll have to implement the auditing somehow. I’ve found this but I’m not quite sure how to implement it: http://www.revitapidocs.com/2016/61fd9502-777d-a946-aead-24974c8ac3f2.htm

I have found that I can pull the corrupt families from an older model and save them into a new folder manually (which isn’t so bad).
I guess loading them in with a script like this is the way to go. Is it possible to add the auditing property? Would that be in this part of the Python code?

#Ensure loaded families can overwrite existing families.
class FamilyOption(IFamilyLoadOptions) :
	def OnFamilyFound(self, familyInUse, overwriteParameterValues) :
		overwriteParameterValues = True
		return True

	def OnSharedFamilyFound(self, sharedFamily, familyInUse, source, overwriteParameterValues) :
		return True

Thanks! :smiley: