.NET

Reply
Valued Contributor
Posts: 77
Registered: ‎04-13-2009
Message 1 of 3 (555 Views)

Problem using acedTrans for UCS to DCS in AutoCAD 2013

555 Views, 2 Replies
04-11-2012 11:10 PM

Dear All,

 

We using acedTrans function in AutoCAD 2012 and previous version, and it worked fine.

 

[DllImport("acad.exe", CallingConvention=CallingConvention.Cdecl, EntryPoint="acedTrans")] static extern int acedTrans(double[] point, IntPtr fromRb, IntPtr toRb, int disp, double[] result);

 

Kean had a post introduct this code: http://through-the-interface.typepad.com/through_the_interface/2007/10/plotting-a-wind.html

 

but after we migrate it to AutoCAD 2013, there is a error message:  Unable to find an entity point named 'acedTrans' in dll 'acad.exe'

 

We can't find the reference sample from the objectARX for 2013 version, it's any change for 2013?

 

Thanks!

 

Rick

 

 

*Expert Elite*
Posts: 1,981
Registered: ‎04-29-2006
Message 2 of 3 (553 Views)

Re : Problem using acedTrans for UCS to DCS in AutoCAD 2013

04-11-2012 11:25 PM in reply to: rick_hgy

Hi,

 

Try replacing "acad.exe" with "accore.dll".

Gilles Chanteau
Active Contributor
Posts: 35
Registered: ‎05-23-2012
Message 3 of 3 (383 Views)

Re: Problem using acedTrans for UCS to DCS in AutoCAD 2013

10-10-2012 07:44 PM in reply to: rick_hgy
thank very much!its exactly what l want!

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community