i have created this to try connect baseplates to multiple columns. baseplate is a face based family
what i’m trying to do is select column and baseplate type and index 0 of the element faces list is always the bottom face so filter that out and attach to it. I’ve got variations of this to work by manually selecting the columns and faces but this negates the reason for creating this. please help I’ve about 400 columns to do thanks,
You’re getting the first item in the list of element’s faces… which is the first sublist representing one element. You need to use list levels or lacing to get the first element from each sublist.
thanks i thought that would filter all index 0’s i’ll look into that.
probably should have posted the error message see below:
Warning: FamilyInstance.ByFace expects argument type(s) (FamilyType, Surface, Point, Vector), but was called with (Revit.Elements.FamilyType, Revit.GeometryReferences.ElementFaceReference, Autodesk.DesignScript.Geometry.Point, Autodesk.DesignScript.Geometry.Vector).
also column location is giving a z value of zero base of the columns are modelled about 18m highter
Not sure if this has been resolved, I would have nested the baseplate family into the column family myself. Could use dynamo to add and autopopulate parameter feilds for new typs if needed.