Community
Hi
Can any one guide me in placing a face based family on a roof. A small example code would help in right direction.
Thanks & Regards
Hi,
I think if you use the pickObject to pick a face then you can use that as the basis for placing your family.
Reference r = uidoc.Selection.PickObject(ObjectType.Face, "Pick a face");
Or if you dont want to pick the face, you can use the filteredElementCollector to filter the specific face using its id as your base.
FilteredElementCollector faceCollector = new FilteredElementCollector(doc).OfClass(typeof(Face));
Im still a newbie but hope that helps 😉