Author Topic: What does ObjectArx offer more than .NET?  (Read 4261 times)

0 Members and 1 Guest are viewing this topic.

ziggywas1

  • Guest
What does ObjectArx offer more than .NET?
« on: February 22, 2010, 03:25:07 PM »
I'm quite familiar with .NET and forms. I know the ActiveX AutoCAD API from the VB(A) days. I'm half the way with VSTO.

The obvious solution would be to programme AutoCAD with .NET.

But after a first look at the ObjectArx help files it came to me that .NET is just a managed wrapper to the ObjectArx functionality. 

Is every aspect of ObjectArx covered? Are there parts of ObjectArx to be wrapped in the next API? Does anyone have a checklist?


LE3

  • Guest
Re: What does ObjectArx offer more than .NET?
« Reply #1 on: February 22, 2010, 03:44:44 PM »
One for that list: you cannot do Custom Objects

on the other side... and appears a tendency:
there are some API's that are required to be accessed from the .NET side, only, in example the MEP API, you can try the ATL/COM route but it is way to hard (been there).



<edit: strings on the wrong place>
« Last Edit: February 22, 2010, 03:57:49 PM by LE3 »

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6924
  • AKA Daniel
Re: What does ObjectArx offer more than .NET?
« Reply #2 on: February 22, 2010, 05:59:43 PM »
Custom objects is a biggie, a few global functions and I think there is something else in 2010 that's not wrapped for .NET yet.. constraints API or something similar. I use both .NET and native ARX regularly.
 

MickD

  • Gator
  • Posts: 3242
  • !false...it's funny 'cause it's true!
Re: What does ObjectArx offer more than .NET?
« Reply #3 on: February 22, 2010, 06:16:06 PM »
speed is probably the greatest advantage to add to the above, other than that for 95%(+) of your development .net is fine and of course you also have windows forms that make gui's a breeze compared to arx/mfc.

.Net also requires less maintenance than arx especially in regards to file versions, your .net code pretty well ports to the next release without re-compiling
A programmer's wife tells him, "Run to the store and pick up a loaf of bread. If they have eggs, get a dozen."

The programmer comes home with 12 loaves of bread.

LE3

  • Guest
Re: What does ObjectArx offer more than .NET?
« Reply #4 on: February 22, 2010, 06:46:54 PM »
might fit here, a recent answer by an adesk person on the arx ng:

Quote
Object ARx classic (C++) vs. .NET
...
It all depends upon what you are trying to do. In many cases ObjectARX is just a tiny bit faster then ObjectARX (where the .NET function is a thin wrapper of the ObjectARX function), in some cases ObjectARX is a lot faster then .NET (where the .NET function may be a refactored version of an ObjectARX capability making it easier to use/manage) - and there are also a few cases where .NET is faster then ObjectARX. If speed is important, it is less about ObjectARX versus .NET and more about how yoiu use ObjectARX and .NET.  Both can be fast and both can be slow.  You would need to provide a lot more detail on what you are trying to accomplish in order to get good advice on what to watch for to get best performance.

Best wishes!
Jim Quanci
Autodesk
« Last Edit: February 22, 2010, 06:51:26 PM by LE3 »

ziggywas1

  • Guest
Re: What does ObjectArx offer more than .NET?
« Reply #5 on: February 23, 2010, 01:06:56 AM »
 :?   Custom components is an important issue.

I can takle the C++ code but don't know MFC at all. Is it possible to mix ObjectArx with managed gui?
If so, please indicate a thread or site.

Thank you.


It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6924
  • AKA Daniel
Re: What does ObjectArx offer more than .NET?
« Reply #6 on: February 23, 2010, 02:19:09 AM »
C++ gives you the keys to the kingdom, Its the Top dog, the Big Enchilada.. Answer all your "Can I do this with C++" questions with. Yeah! I got the power!  :evil:

pkohut

  • Guest
Re: What does ObjectArx offer more than .NET?
« Reply #7 on: February 23, 2010, 02:22:53 AM »
C++ gives you the keys to the kingdom, Its the Top dog, the Big Enchilada.. Answer all your "Can I do this with C++" questions with. Yeah! I got the power!  :evil:

With the power comes spectacular crashes, suspenseful hangs, and wet floors  :-D

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6924
  • AKA Daniel
Re: What does ObjectArx offer more than .NET?
« Reply #8 on: February 23, 2010, 02:24:58 AM »
C++ gives you the keys to the kingdom, Its the Top dog, the Big Enchilada.. Answer all your "Can I do this with C++" questions with. Yeah! I got the power!  :evil:

With the power comes spectacular crashes, suspenseful hangs, and wet floors  :-D

 :lmao:

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: What does ObjectArx offer more than .NET?
« Reply #9 on: February 23, 2010, 02:29:17 AM »

I becoming convinced being a megalomaniac and a masochist help a little too.



added: of course, I don't really think that .....
« Last Edit: February 23, 2010, 02:37:07 AM by Kerry Brown »
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

pkohut

  • Guest
Re: What does ObjectArx offer more than .NET?
« Reply #10 on: February 23, 2010, 02:53:05 AM »
I becoming convinced being a megalomaniac and a masochist help a little too.

Before google "define megalomaniac and masochist" ... :?
                and after ...  :-D


added: of course, I don't really think that .....
uh suuuurrrrreee, that disclaimer is to big.  It's readable.

MP

  • Seagull
  • Posts: 17333
Re: What does ObjectArx offer more than .NET?
« Reply #11 on: February 23, 2010, 10:07:03 AM »
« Last Edit: February 23, 2010, 01:55:32 PM by MP »
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Lee Mac

  • Seagull
  • Posts: 12195
  • London, England
Re: What does ObjectArx offer more than .NET?
« Reply #12 on: February 23, 2010, 01:49:53 PM »
 :-D  :-D  :-D

ziggywas1

  • Guest
Re: What does ObjectArx offer more than .NET?
« Reply #13 on: February 23, 2010, 01:54:39 PM »
I see that you guys are very happy with OA.  :kewl:
You've made me reconsidering.

But I still find MFC scary  :roll:

Is C++\CLI the solution to my fears?

MickD

  • Gator
  • Posts: 3242
  • !false...it's funny 'cause it's true!
Re: What does ObjectArx offer more than .NET?
« Reply #14 on: February 23, 2010, 03:54:16 PM »
If you 'really' need raw speed then you have no other choice but OA, but if you want to get something done, go with .net.
Libraries (ObjectARX) are written in C/C++ for consumption by developers, customisation uses the highest level language possible for the purpose at hand.

Other than that it's personal opinion/preference. :)
A programmer's wife tells him, "Run to the store and pick up a loaf of bread. If they have eggs, get a dozen."

The programmer comes home with 12 loaves of bread.