Programatically opening up revit families

Some example here if you want to use python.