• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 77
    Registered: ‎04-13-2009

    Problem using acedTrans for UCS to DCS in AutoCAD 2013

    359 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

     

     

    Please use plain text.
    *Expert Elite*
    Posts: 1,649
    Registered: ‎04-29-2006

    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
    Please use plain text.
    Active Contributor
    Posts: 28
    Registered: ‎05-23-2012

    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!
    Please use plain text.