Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is probably very simple, but im probably just to new the api to figure it out.
Im trying to select framing element(s) in revit, and running the structuralframingutlis.DisallowJoinAtEnd command to mass dissallow framing joins on all selected objects.
I dont have much code to post because im stuck right from the start.
I can get selected objects elemntid's, but i dont know how to turn that infomation in to family instances, which what the StructuralFramingUtils
wants.
Am i starting in the wrong place? Im not even sure of the proper syntax for StructuralFramingUtils.
Thanks!
// Get the element selection of current document.
Selection selection = uidoc.Selection;
ICollection<ElementId> selectedIds = uidoc.Selection.GetElementIds();
Solved! Go to Solution.