So been testing ideas for a couple of days and yet to get the logic i want to work as expected including testing all the ideas on the forum i have found. So posting up the files here as i feel i am missing something. As this should be such a simple task. All i wanna do is place a family on a plane without first baking the planes as surfaces and re-referencing them in, all in family environment. As this family file will then be placed in the project using adaptive points.
This is placing the family on the points but because it is using FamilyInstance.ByPoint and a plane it is not using the curves normals to align the family. Using FamilyInstance.SetRotation does not work here either as it only rotates in the local Z axis not a given axis
This is build using the plane normals and then “baking” the geometry to Revit using Springs.Form.ByGeometry This is the correct alignment/placement but the generic form geometry can not be edited with parameters as far as i can tell so as soon as its in Revit its dead geometry. I want the families placed to follow these. Yes i could use adaptive components and put a start and end point and place families like that but this is one of 50+ families of these that are bring placed with adaptive points and having so many will make the project file unusable.
This is an overlay with the both the working generic forms (Grey) and the broken families (blue)
11-1-1_Tunnel_Excavation_Tube-Spiles-WIP.rfa (344 KB)
Dynamo File (That places families incorrectly)
02-1_Tunnel_Excavation_Tube-Spiles_Fam.dyn (144.7 KB)