- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am trying to learn how to make a macros in revit
and i saw some video but it was in revit 2014
first qus :
what is wrong with my macros i am working on revit 2020
public void selectElement()
{
UIDocument uidoc = this.ActiveUIDocument ;
Document doc = uidoc.Document;
Reference myRef = uidoc.Selection.PickObjects(ObjectType.Element);
Element e = doc.GetElement(myRef);
TaskDialog.Show("Element Info",e.Name + Environment.NewLine + e.Id);
}
2nd ques is :
what is version of revit that has the same api lang of revit 2014
i do not wanna work on revit 2014 so the video made on revit 2014 what other version i still can make macros like revit 2014 ?!
thank u and sorry for my language
Solved! Go to Solution.