Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66705

Re: Update a 2014 solution to 2016...cant solve the error

$
0
0

Hi  & 

 

How would you edit the portion of code to work from:

 

Obtaining Element IDs:

 

 ICollection<ElementId> selElements = uiDoc.Selection.GetElementIds();

 

to prompting the user via rectangle?

uiDoc.Selection.PickElementsByRectangle

 

replacing the line with that results in an error. Any thoughts? Thank you!

 


Viewing all articles
Browse latest Browse all 66705

Trending Articles