FamilyInstance.ByPointAndLevel not working in Python script

Hello guys!

it look like it doesn’t see this function FamilyInstance.ByPointAndLevel, even though I have imported Revit.Elements

Could someone help me with that?

You’d need to import the Dynamo for Revit library to use it. However that is quite ineffective, likely slower, more difficult to maintain, and borders on a worst practice. Instead you should look to use the Revit API directly, via the method shown here: FamilyInstanceCreationData Constructor (XYZ, FamilySymbol, Level, StructuralType)

1 Like