Python FamilyInstance.ByCoordinates

Is it posible to create FamilyInstance.ByCoordinates using Python? I’m trying to do it in Python because I’m creating it from a file, and I need to use a lot of parameters.

Thans you in advance

Sure it’s possible:
But you could just as well use the existing node to first create your family instances and then set the params later.

1 Like

Here is a python snippet that worked for me @OrsHH
Works on 2015, haven’t tested in other versions.

from Autodesk.Revit.DB.Structure import StructuralType

doc = __revit__.ActiveUIDocument.Document

# Transaction
instance = doc.Create.NewFamilyInstance(location_pt  [XYZ point ] , 
                                        fam_symbol [symbol object] ,
                                        level [ optional?] ,
# End Transaction