How To Retrieve Ordinals For AEC Exported Functions

<?xml encoding=”UTF-8″>By Madhukar
Moogala

The ordinals for Functions may be useful for RealDWG Apps, one such scenario when realDWG app explodes any AEC entities which are view dependent entities, explode of an entity in particular view may result certain geometry respective to that view, to get desired result one may require to set the view of the entity in the drawing and explode.

For reference please look at this blog post

First get OMF SDK for relevant version from https://adn.autodesk.io/

Go To Software and download SDK after accepting License Agreement.

OMFSDK

Launch Visual Studio Developer Command

Change to OMFSDKLib_$Platform folder

Execute

dumpbin /exports $libname | findstr $functionName

For Example

D:OMF2018Lib-x64>dumpbin /EXPORTS AecBase.lib | findstr "drawingPromoterAndIniter"
897    ?drawingPromoterAndIniter@AecAppDbx@@SAXPEAVAcDbDatabase@@_N@Z (public: static void __cdecl AecAppDbx::drawingPromoterAndIniter(class AcDbDatabase *,bool))


897
” is Ordinal number


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

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

Continue reading