Retrieving an element by the UniqueuId string

By Mikako Harada

Issue

What method can I use to retrieve an element from an unique id string using Revit API? 

Solution

You can use Document.GetElement(String). RevitAPI.chm file shipped at original release time has a typo. String argument in the method GetElement(String) should be unique id. 


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading