- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi, my task is to create a legend by copying another one and deleting all the objects from there (since there are no ways to create a legend in the revit api yet).
I also need to find all the windows in the legend; then, I need to copy any element of any legend; paste it into the newly created legend; change its type so that this element becomes a window from the list; and change it so that it appears in front of us with a front view. And so you need to repeat as many times as there are windows in the list. The result should be a new legend with all the windows from the document represented by the front view.
Unfortunately, I'm stuck halfway through. I copied the found element into a new legend and do not know how to change it, I have been doing this for literally several weeks now and have not made any progress. I am asking for your help in this seemingly easy task. I will attach my code below, I will be grateful for any hint and help, thank you in advance. I am not a native English speaker, so I can make various types of mistakes, for which I apologize.
Solved! Go to Solution.