See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: MgdDbg for AutoCAD 2015

  1. #1
    Member
    Join Date
    2016-01
    Posts
    33
    Login to Give a bone
    0

    Default MgdDbg for AutoCAD 2015

    Hi All,

    I am looking for a compiled version of MgdDbg for AutoCAD 2015 (I don't have ADN subscribtion).

    Any suggestion is appreciated

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,733
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    If memory serves, posting from an iPhone, both flavors of MgdDbg (AutoCAD and Civil 3D [aka Snoop DB]) come with their source... Have you tried changing the necessary assembly references, and recompiling for 2015 yourself?

    Cheers
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    Member
    Join Date
    2016-01
    Posts
    33
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    Quote Originally Posted by BlackBox View Post
    If memory serves, posting from an iPhone, both flavors of MgdDbg (AutoCAD and Civil 3D [aka Snoop DB]) come with their source... Have you tried changing the necessary assembly references, and recompiling for 2015 yourself?

    Cheers
    I tried to recompile MgdDbg 2010, but apparently the structure changed a lot since then, I know there is a 2012 version but I can't find, can someone upload it and I will try to recompile it

    Thanks

  4. #4
    Member
    Join Date
    2016-01
    Posts
    33
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    I managed to recompile it for AutoCAD 2014, however I still have trouble with AutoCAD 2015 mainly because some deprecated classes (e.g. MaterialTraits2, MentalRayRenderSettingsTraits2)

    Any suggestions about these classes (should I comment them?!)
    Attached Files Attached Files
    Last edited by thesniper2003eng; 2014-05-20 at 04:35 PM.

  5. #5
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    202
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    Hi,

    You can download the 2012/2013 version here.
    It's a .msi file which install an Autoloader plug-in.
    After installation, you'd find a "Autodesk DWG MgdDBG.bundle" folder in "%appdata%\Autodesk\ApplicationPlugins".
    The Visual Studio solution is in .\Contents\Resources\DWGMgdDbgSource.
    After re-compiling it for AutoCAD 2015, you'll have to edit the PackageContents.xml.

  6. #6
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    202
    Login to Give a bone
    1

    Default Re: MgdDbg for AutoCAD 2015

    Hi,

    Here's a new "Autodesk DWG MgdDBG.bundle" folder to put in the "%appdata%\Autodesk\ApplicationPlugins" (rename "Autodesk DWG MgdDBG.bundle_original" the previous one if any).
    It should work for AutoCAD 2012 to 2015.

    I only add two new projects for A2014 and A2015 and compiled them. I had to make some changes in the source codes for A2015 creating a specific GraphicsInterface_2015.cs file and using conditional compilation wherever else it was necessary.
    Attached Files Attached Files

  7. #7
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,733
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    Despite PackageContents.xml needing some improvements (i.e., Platform="AutoCAD*|AutoCAD" for R18.2, etc. ), I just tested in AutoCAD and Civil 3D 2015, and all is working well so far; thanks, Gile.

    Cheers
    Last edited by BlackBox; 2014-05-20 at 12:39 PM.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  8. #8
    Member
    Join Date
    2016-01
    Posts
    33
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    Quote Originally Posted by _gile View Post
    Hi,

    Here's a new "Autodesk DWG MgdDBG.bundle" folder to put in the "%appdata%\Autodesk\ApplicationPlugins" (rename "Autodesk DWG MgdDBG.bundle_original" the previous one if any).
    It should work for AutoCAD 2012 to 2015.

    I only add two new projects for A2014 and A2015 and compiled them. I had to make some changes in the source codes for A2015 creating a specific GraphicsInterface_2015.cs file and using conditional compilation wherever else it was necessary.

    Thank you Gile, I will give it a try today and let you know how it works.

    Thanks again

  9. #9
    Member
    Join Date
    2016-01
    Posts
    33
    Login to Give a bone
    0

    Default Re: MgdDbg for AutoCAD 2015

    It is working fine with AutoCAD 2015. I used Diff tool to compare GraphicInterface and GraphicInterface_2015 and I saw that your commented some lines (e.g. (Line 102) ShadowParameters2, (Line 204)Variant data type) and changed some classes (e.g. (Line 499) MaterialTraits2 to MaterialTrait).

    Could you please clarify to me these changes? (why is it happening?, will it affect the tool?)

  10. #10
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    202
    Login to Give a bone
    1

    Default Re: MgdDbg for AutoCAD 2015

    Quote Originally Posted by thesniper2003eng View Post
    It is working fine with AutoCAD 2015. I used Diff tool to compare GraphicInterface and GraphicInterface_2015 and I saw that your commented some lines (e.g. (Line 102) ShadowParameters2, (Line 204)Variant data type) and changed some classes (e.g. (Line 499) MaterialTraits2 to MaterialTrait).

    Could you please clarify to me these changes? (why is it happening?, will it affect the tool?)
    Some APIs have been moved, some others removed.
    Look at the ObjectARX 2015 docs: ObjectARX\docs\arxmgd.chm > Migration Guide > .NET Migration Guide.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 8
    Last Post: 2016-04-20, 06:41 PM
  2. Windows XP - Autocad MEP 2015 and Revit 2015
    By wiegmanroger433258 in forum Operating Systems
    Replies: 2
    Last Post: 2015-01-15, 01:42 PM
  3. 2015: AutoCAD for Mac 2015 and AutoCAD for Mac LT 2015
    By rkmcswain in forum AutoCAD for Mac General
    Replies: 0
    Last Post: 2014-10-15, 02:01 PM
  4. txt2mtext - in AutoCAD LT 2015
    By atait646738 in forum AutoCAD LT - Wish List
    Replies: 2
    Last Post: 2014-04-30, 07:53 PM
  5. Dynamic, Complete MgdDbg
    By BlackBox in forum API Wish List
    Replies: 0
    Last Post: 2013-02-20, 03:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •