ObjectARX

Reply
Distinguished Contributor
alex_b
Posts: 396
Registered: ‎08-15-2003
Message 1 of 3 (672 Views)
Accepted Solution

readDwgFile()

672 Views, 2 Replies
03-07-2011 09:37 PM

Hello

Is there a way to resolve attachments (xrefs, images) on a database loaded with readDwgFile()?

I mean something similar to Database::ResolveXrefs() but in C++, not .NET

Thanks

alex

Employee
artc2
Posts: 205
Registered: ‎06-08-2010
Message 2 of 3 (656 Views)

Re: readDwgFile()

03-08-2011 11:13 AM in reply to: alex_b

Take a look at the acedxref.h and acdbxref.h header files in the ObjectARX SDK.  The functions in acedxref.h are Acad specific, whereas those in acdbxref.h will work in Acad or a RealDWG application.

Distinguished Contributor
alex_b
Posts: 396
Registered: ‎08-15-2003
Message 3 of 3 (651 Views)

Re: readDwgFile()

03-08-2011 01:02 PM in reply to: artc2

Thank you Art.

acdbResolveCurrentXRefs() did the trick.

Announcements
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.