ObjectARX vs VB

ObjectARX vs VB

Anonymous
Not applicable
597 Views
6 Replies
Message 1 of 7

ObjectARX vs VB

Anonymous
Not applicable
I am new to all of these so please bear with me. What is the advantage of
using ARX over VB?
0 Likes
598 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
Its not easy to write a comprehensive list, so here are a couple of examples
...

ObjectARX is much faster than VB. It is also faster than VBA. The speed
difference is not so marked in VBA because this runs in-process. VBA is
written using ObjectARX, so it will always be a bit slower than pure ARX.

ObjectARX allows you more access to AutoCAD's underlying functionality. The
most obvious example is that you cannot create custom entities using VB/VBA.
There are many other things you can do in ARX, but not in VB/VBA.

VB/VBA allow you to do a lot, but not everything. What VB/VBA doesn't allow,
you can usually expose to VB/VBA using ObjectARX and an ATL wrapper
function.

Finally, if you use C++/ObjectARX, you can feel superior to all those people
who use 'easy' programming languages like VB. 😉

Cheers,

Stephen Preston
Developer Consulting Group
Autodesk



"Chris W" wrote in message
news:f092cc0.-1@WebX.maYIadrTaRb...
> I am new to all of these so please bear with me. What is the advantage of
> using ARX over VB?
>
>
0 Likes
Message 3 of 7

Anonymous
Not applicable
> Finally, if you use C++/ObjectARX, you can feel superior to all those
people
> who use 'easy' programming languages like VB. 😉

Hmmm...

Easy = Soft
Hard = Superior

???

Luis
ArqCOM Software
www.arqcom.com.mx
0 Likes
Message 4 of 7

Anonymous
Not applicable
To put it in simple terms that someone used to explain C++ to me, "C++ and ObjectARX give you the power of a shotgun, except its too easy to blow your foot off". C++ and ObjectARX give you ten times the power of VB and event more than VBA across the board. The downfall to this much programming power is that if you make a mistake you can crash AutoCAD (I'm guilty) or Windows (I'm also guilty) or even worse, wreck AutoCAD so bad you need to re-install it (My last boss did that). VB is a hobbiest programming language and was started by Microsoft as just that. But around V2 or 3 they discovered that so many people were using it for comercial or bussiness use that it was slightly beefed up (especially in the database area) for these programmers. VB still has problems and I don't recommend using it for any kind of commercial product as your main language. Plainly if you know how to program C++, ObjectARX is just a library add-on and can be mastered in a good period of time. ObjectARX and C++ have allowed me to do things that no one has ever thought possible. Thanks Chad Wanless
0 Likes
Message 5 of 7

Anonymous
Not applicable
Sorry - my odd sense of humour kicked in for a moment there. Must try harder
to keep it under control. 😄



"Luis Esquivel" wrote in message
news:E0DAFB21FA56E996E017435BEF5047EB@in.WebX.maYIadrTaRb...
> > Finally, if you use C++/ObjectARX, you can feel superior to all those
> people
> > who use 'easy' programming languages like VB. 😉
>
> Hmmm...
>
> Easy = Soft
> Hard = Superior
>
> ???
>
> Luis
> ArqCOM Software
> www.arqcom.com.mx
>
>
0 Likes
Message 6 of 7

Anonymous
Not applicable
Dear Chris,

Regarding to all posted messages on this thread is a fact that each one will
think its best languages skills will be the best of the best!

But, in fact, the best solution depends on what you are planning to do.
For instance, if you desire to develop custom entities the ObjectARX is the
only way to go. In other hand, if you are planning to make a simple
application, like a macro, that just manipulate some entities, maybe the
best solution is VBA or even AutoLISP.

As you may know, as ObjectARX is based on C++, from it you can reach almost
anything like databases, windows api, internet, etc. In theory, there is no
limit when working on C++ even when we are talking about hardware
interfaces.

From my point of view I can't guarantee what is the best solution without
know exactly what are your plans.

So, it is up to you choose what is the best customization tool for YOUR
problem!

Regards,
Fernando.

"Chris W" wrote in message
news:f092cc0.-1@WebX.maYIadrTaRb...
> I am new to all of these so please bear with me. What is the advantage of
> using ARX over VB?
>
>
0 Likes
Message 7 of 7

Anonymous
Not applicable
Stephen,

> Sorry - my odd sense of humour kicked in for a moment there. Must try
harder
> to keep it under control. 😄

Hey no problem (been there too) it was funny!.

Best regards,
Luis

btw, I will be asking here for help as soon I need it and you probably will
answer my arx questions.
0 Likes