Author Topic: C++ programming in AutoCAD  (Read 7973 times)

0 Members and 1 Guest are viewing this topic.

bfred805

  • Guest
C++ programming in AutoCAD
« on: April 14, 2015, 09:24:36 PM »
Is there a place for C++ is the world of AutoCAD programming? Has anyone heard of some APIs that make CAD even more efficient for them?

MickD

  • King Gator
  • Posts: 3636
  • (x-in)->[process]->(y-out) ... simples!
Re: C++ programming in AutoCAD
« Reply #1 on: April 14, 2015, 11:21:36 PM »
Are you familiar with ObjectARX?
Apart from custom objects or if you are processing say a point cloud with a million points I really can't see a good reason to use it now that there are .Net wrappers over pretty much the whole ObjectARX C/C++ API. Productivity with the .Net wrappers and .Net framework wins hands down.
Even with the performance of the point cloud example we're only talking seconds or less, not minutes.
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

ChrisCarlson

  • Guest
Re: C++ programming in AutoCAD
« Reply #2 on: April 15, 2015, 08:02:01 AM »
From what I understand the only supported languages from AutoDesk going forward is C#/VB .net. Which make sense especially since Microsoft is working on making .net universal across operating systems.

http://www.infoworld.com/article/2899136/microsoft-net/microsoft-open-sources-net-build-system.html 

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: C++ programming in AutoCAD
« Reply #3 on: April 15, 2015, 10:21:34 AM »
From what I understand the only supported languages from AutoDesk going forward is C#/VB .net.

Source?
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

ChrisCarlson

  • Guest
Re: C++ programming in AutoCAD
« Reply #4 on: April 15, 2015, 12:16:24 PM »

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: C++ programming in AutoCAD
« Reply #5 on: April 15, 2015, 02:52:41 PM »
Ah.  That's the managed dotNET reference so there wouldn't be a reference to anything else other than C#/VB.  ObjectARX is C++ and that's still supported.  Implying that everything else will be discontinued is not supportable.

This is where rumors get started...   :tickedoff:
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}