Revit API

Revit API

Posts: 15
Registered: ‎07-27-2012
Message 1 of 2 (108 Views)

In revit, how can I access XData stored in imported DWG

108 Views, 1 Replies
01-13-2014 01:31 AM


First, I store XData in a DWG drawing. Second, I import the DWG  in Revit.

Now,I need to retrieve XData stored in the imported DWG programmingly.


Which revit API should I use? Anyone can help me,thanks.

Distinguished Contributor
Posts: 175
Registered: ‎01-06-2003
Message 2 of 2 (83 Views)

Re: In revit, how can I access XData stored in imported DWG

01-14-2014 10:55 PM in reply to: zzffxx

This is a good question and I shall be interested in the replies. Pre 2014 it was not even possible to access the 3D data in a Dwg. In that case I wrote the 3D coordinates out to XML to read into Revit. Not exactly what you asked, but may be an option if the XData is not directly accessible. Dale.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.