New Member
Posts: 1
Registered: ‎08-29-2013
Message 1 of 2 (198 Views)

Is there a way to access AEC object (AEC_WALL etc.) properties from RealDWG?

198 Views, 1 Replies
09-24-2013 02:49 AM

Is there a way to access AEC object (AEC_WALL etc.) properties from RealDWG? I am able to get the class name AecDbWall. And even the extents of the entity.There are some Aec*.dll files in the RealDWG folder but I am not sure what to use to  get the properties of Wall,window.I'm using visual C++. I have installed the object enablers of Architecture Structure Drawing, MEP, and also of Civil.

ADN Support Specialist
Posts: 631
Registered: ‎06-02-2009
Message 2 of 2 (142 Views)

Re: Is there a way to access AEC object (AEC_WALL etc.) properties from RealDWG?

09-27-2013 05:15 AM in reply to: ashutoshkumar

Here is the feedback from my colleague Jeremy on that question:


You may be able to use the AutoCAD Architecture C++ API named OMF for this, if you really have to. It is similar to ObjectARX for AutoCAD.

OMF itself does include both C++ and .NET APIs, but for the RealDWG scenario, probably only the C++ portion can ever possibly work.

The .NET wrapper modules are not included at all in RealDWG, and this case is not supported.

Furthermore, one of my more experienced colleagues recommends trying to avoid this completely, if you can.

He says that even using the C++ OMF with the object enabler modules is not officially supported with RealDWG. Although it should theoretically be possible from a technical point of view, and some developers reported using it, it was a huge hassle to get any fixing done whenever something broke.

Therefore, the recommendation is to stay away from it and try to get what you need through straight RealDWG APIs if at all possible.

Since a lot of the information stored by AutoCAD Architecture is actually just placed in normal ObjectARX dictionaries, you can often access all you need using just pure ObjectARX.

I hope this helps.

Best regards,

Jeremy Tammik

Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.