.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is not in Acad 2006

25 REPLIES 25
Reply
Message 1 of 26
Anonymous
470 Views, 25 Replies

What is not in Acad 2006

Hi,

Many of my users have AutoCAD 2006 and it might remain this way for many years. On this forum I have read that some features were not implemented yet in .NET in the AutoCAD 2006 version. Can you tell me more about this.

I need to evaluate the feasibility of using .NET as the programming language in AutoCAD instead of Lisp four our present and future needs. What changes have occurred between version 2006 and 2007-2008 ? Are they critical ? What could be done by Lisp that can't be done with .Net ?

If any of the more advance programmer here can share their experience about that, I would be very grateful.
25 REPLIES 25
Message 2 of 26
Anonymous
in reply to: Anonymous

Hi Pierre,

The total data to answer your question would fill an encyclopaedia and would
be completely useless as information.

If you provide some specific information about what you see your specific
customisation needs are, and what levels of skills and budget you see as
being applicable in your organisation, then you could expect to get a
meaningful answer, instead of the set of pre-judged opinions which can be
found be searching these NGs for the dozens of similar queries to yours.

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com

wrote in message news:5732976@discussion.autodesk.com...
Hi,

Many of my users have AutoCAD 2006 and it might remain this way for many
years. On this forum I have read that some features were not implemented
yet in .NET in the AutoCAD 2006 version. Can you tell me more about this.

I need to evaluate the feasibility of using .NET as the programming language
in AutoCAD instead of Lisp four our present and future needs. What changes
have occurred between version 2006 and 2007-2008 ? Are they critical ?
What could be done by Lisp that can't be done with .Net ?

If any of the more advance programmer here can share their experience about
that, I would be very grateful.
Message 3 of 26
Anonymous
in reply to: Anonymous

>> I need to evaluate the feasibility of using .NET as the
>> programming language in AutoCAD instead of Lisp four
>> our present and future needs.

It isn't feasable to use tools that you have yet to learn.

The previous thread that you started here makes it clear
that you're at the entry-level, insofar as .NET development
goes.

You have to learn to use the language and API before you
can even begin to consider implementing solutions with it.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
Message 4 of 26
Ed.Jobe
in reply to: Anonymous

In addition, you may find this article helpful. While it doesn't discuss NET, some of what it says applies.
http://management.cadalyst.com/cadman/Harry%27s+Code+Class+Newsletter+%28Archives%29/Harrys-Code-Class-September-2007/ArticleStandard/Article/detail/460433?contextCategoryId=39808

" What could be done by Lisp that can't be done with .Net ?" This is a little backwards. Net can do much more, but lisp can be more concise in some cases. While lisp is best at scripting existing acad commands, NET offers closer integration with acad.

To evaluate whether something is feasable or not, at a minimun, you need a summary of what it is capable of and your cost to attain it. You might try msdn.com and look at the visual studio home page to get an overview of NET. As far as NET in acad goes, you could summarize by saying that acad's NET api is a wrapper for the ARX classes. Which means that you have greater access to acad than lisp, but at a greater cost. Due to its complexity, it takes a long time to learn.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 5 of 26
Ed.Jobe
in reply to: Anonymous

"You have to learn to use the language and API before you
can even begin to consider implementing solutions with it."

I think he's aware of that. I believe what he's asking for is advise so he can evaluate whether to put the effort into learning it in view of the fact that he's stuck with 2006 for some time. You're still stuck in run-down-the-beginner-to-make-yourself-feel-big mode.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 6 of 26
Anonymous
in reply to: Anonymous

Ed Jobe and Tony... I hadn't written a line of code in the ObjectArx .Net before last week. I have been working with C#.net everyday for the last 4 years. I have experience in the development of windows form but I am a beginner with the AutoCAD API.

Our IT department has just had the mandate to replace an old Lisp program that was develop by AutoCAD user to generate drawings. We have two solutions to evaluate. The first solution is an All in AutoCAD solution with ObjectArx .Net. The second solution (with which our department has experience) would be to create a windows form software that allow user to draw the material. and then at the end generate an AutoCAD drawing with the AutoCAD COM.

Right now the drawing is made with many lines but the is no intelligence attach to the actual material drawn.

With the ObjectArx.net solution, our new tool would generate Dynamics blocks so this way, after the user move, stretch, the material we will be able to extract the information contained in the attributes but also the information in the dynamic properties as well. That's pretty simple but we also want this solution to support future needs:

1- Have "intelligent" objects that can respond to events when they are changed. For instance if user change the material property, then the weight property is updated automatically. ( I studied the EventsWatcher C# sample )

2- Create and keep some kind of dependency between objects. For instance if some material is stretch, it's neighbor needs to narrow to fill a given space. I found information about that here but it is for AutoCAD 2007: http://through-the-interface.typepad.com/through_the_interface/2006/11/linking_circles_1.html

I am in charge of evaluating the best solution. It would be great to know the language by hand before making a recommendation but as you know in the real world.... I have 2 weeks left to evaluate if Autocad 2006 could do the job... and so far I think it does.

So it is why I asked right from the start if there are bigs limitations in AutoCAD 2006 compare to 2007 that I should be aware of.

Thank you for your help.

Message was edited by: PierreQC
Message 7 of 26
Anonymous
in reply to: Anonymous

wrote

>> You're still stuck in run-down-the-beginner-to-make-yourself-feel-big mode.

Not exactly.

It's more like the run down-the-beginner-that-
wants-to-pretend-to-be-the-expert-to-make-
themself-feel-big mode.

Unlike yourself, the OP isn't here pretending to
be an expert at, and able to advise others on
using tools that he hasn't himself learned yet,
to make himself 'feel big'.

Grow up.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
Message 8 of 26
Ed.Jobe
in reply to: Anonymous

There you go running me down again cause you don't have any justification for your childish actions.

BTW, just because I try to help people doesn't mean I claim to be an expert. Just the willingnes to share what you know is all you need to be helpful. Part of your problem is you think that nobody but you can help anyone. We don't have to kow everything like you. Apparently, you who sit in judgement of others must fancy youself one. But that doesn't automatically make you helpful, especially when all you have to offer is put-downs. You don't honestly believe your post was helpful do you?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 9 of 26
dgorsman
in reply to: Anonymous

Have you considered future upkeep of the program?
----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Message 10 of 26
Anonymous
in reply to: Anonymous

Hi Pierre,

So long as you have a reasonable knowledge of AutoCAD you will easily pick
up on the API. You clearly have more than adequate experience in C#
programming to work with new APIs.

Probably the major limitation you will run into is lack of documentation.

Although I have not gone into it (and those that have are still too busy
being petty) I think you will find that R2008 would be more friendly to your
C# programming than R2006. That could be readily confirmed or denied by
others here.

--

Laurie Comerford
CADApps
www.cadapps.com.au
www.civil3Dtools.com
wrote in message news:5734284@discussion.autodesk.com...
"I think he's aware of that. I believe what he's asking for is advise so he
can evaluate whether to put the effort into learning it in view of the fact
that he's stuck with 2006 for some time. "

Ed Jobe, you are absolutely right about that. And Tony... I hadn't written
a line of code in the ObjectArx .Net before last week. I have been working
with C#.net everyday for the last 4 years. I have experience in the
development of windows form but I am a beginner with the AutoCAD API.

Our IT department has just had the mandate to replace an old Lisp program
that was develop by AutoCAD user to generate drawings. We have two
solutions to evaluate. The first solution is an All in AutoCAD solution
with ObjectArx .Net. The second solution (with which our department has
experience) would be to create a windows form software that allow user to
draw the material. and then at the end generate an AutoCAD drawing with
the AutoCAD COM.

Right now the drawing is made with many lines but the is no intelligence
attach to the actual material drawn.

With the ObjectArx.net solution, our new tool would generate Dynamics blocks
so this way, after the user move, stretch, the material we will be able to
extract the information contained in the attributes but also the information
in the dynamic properties as well. That's pretty simple but we also want
this solution to support future needs:

1- Have "intelligent" objects that can respond to events when they are
changed. For instance if user change the material property, then the weight
property is updated automatically. ( I studied the EventsWatcher C#
sample )

2- Create and keep some kind of dependency between objects. For instance if
some material is stretch, it's neighbor needs to narrow to fill a given
space. I found information about that here but it is for AutoCAD 2007:
http://through-the-interface.typepad.com/through_the_interface/2006/11/linking_circles_1.html

I am in charge of evaluating the best solution. It would be great to know
the language by hand before making a recommendation but as you know in the
real world.... I have 2 weeks left to evaluate if Autocad 2006 could do
the job...

So it is why I want to know right from the start if there are bigs
limitations in AutoCAD 2006 that I should be aware of.

Thank you for your help.

Message was edited by: PierreQC
Message 11 of 26
Anonymous
in reply to: Anonymous

Pierre - It's good that you have some experience with C#.

As far as what you want to do, the best approach IMO, is
the one that leverages the existing skills that you have
at your organization.

>> 1- Have "intelligent" objects that can respond to events...

The Eventswatcher sample can be a bit misleading to
those that haven't been 'through the wringer' yet.

For example, it doesn't make clear that whie you can
trap events, you can't manipulate the notifying objects
in the handlers of the events.

Instead, you have to track all the notifying objects,
and wait until the operation they were modified in has
completed, before you can update them. So, that's a
good example of how not having much experience with
the API can lead one to presume they can do things
which the can't do or can't do as easily as they might
initially think. The same problem occurs when using
Visual LISP's reactors, so if you've done any work with
them, you may have run into this.

>> 2- Create and keep some kind of dependency between
>> objects.

This is much more complicated than most who attempt
it initially presume. When handles or object ids are
used to maintain a dependency/relationship between
objects that can be edited individually, there are many
issues relating to copying, erasing and various other
operations, must be dealt with. And, it is not trivial.

This is also an area where LISP falls down, because it
does not have access to the APIs that are needed to
resolve inter-object relationships. That is something
that can only be done using ObjectARX.

IOW, maintaining inter-object relationships using LISP
is not only unfeasable, it's basically impossible.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
Message 12 of 26
Anonymous
in reply to: Anonymous

>> There you go running me down again cause
>> you don't have any justification for your
>> childish actions.

Your reaction to a simple question I asked you,
because you did not like the fact that you could
not answer it, or could find the courage to admit
that you didn't really have the experience needed
to definitively answer it, is the only 'childish'
behavior here.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
Message 13 of 26
Ed.Jobe
in reply to: Anonymous

You're loosing it. You never even asked me a question. All you did was jump at the chance to tell Pierre he's "entry level". That's all you've done for the last 10 years, and especially lately. If you're such an expert, why don't you say something useful for a change. Stick to the subject, which is your obsession with telling people they don't know anything.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 14 of 26
Anonymous
in reply to: Anonymous

wrote

>> You're loosing it. You never even asked me a question.

Sure I did. But, it wounded your tender 'hey-everyone-
look-how-smart-I-am" ego so much that you probably
don't want to remember it.

Basically, what you are is just a guy with an ego so
large that you just can't handle being shown to be
wrong.

And all of this crap that you've been spewing forth
since is just your way of trying to cover that up.


--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
Message 15 of 26
Ed.Jobe
in reply to: Anonymous

I haven't been spewing crap, just pointing out what has been coming from you for the last 10 years. Now, you know what it feels like on this end. If you don't like it, all you have to do is quit insulting people. Everybody can see that you're making stuff up, while I've been citing hard facts that you continue to deny. Don't you have a mirror at your place? All the things you've been saying to me, you should be saying to yourself. Grow up.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 16 of 26
Anonymous
in reply to: Anonymous

"you can't manipulate the notifying objects
in the handlers of the events....... until the operation they were modified in has completed"

Indeed. That's a usefull information.

I am looking at that right now. For instance if I try to use the object in the OnCommandEnded handler, it works well. But if I try to read custom attributes of the object in the OnObjectModified, I get a crash.

If one changes the X distance of a dynamic block in the property window, the Document.CommandEnded event isn't fired of course but I have not found out yet in witch event handler to use and when to use it. Ok yes at the end but what tells me that the command is finished.

Any Idea ?
Message 17 of 26
Anonymous
in reply to: Anonymous

Ed:

Most of us already know what Tony's like. I can't imagine why you want to
convince us that you're just as immature as Tony. In any case, your public
squabble isn't adding anything useful to this discussion group, and should
be taken to email if you want to continue. 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
Message 18 of 26
Ed.Jobe
in reply to: Anonymous

Thanks Owen. My mistake. I was only trying to speak up for others. Chalk it up to desperation, I guess. I give up. He's not worth it.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 19 of 26
Anonymous
in reply to: Anonymous

Owen - Do you yourself have something constructive
to contribute to this thread, or is this just an exercise
in self-aggrandizement?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com

"Owen Wengerd" wrote in message news:5735332@discussion.autodesk.com...
Ed:

Most of us already know what Tony's like. I can't imagine why you want to
convince us that you're just as immature as Tony. In any case, your public
squabble isn't adding anything useful to this discussion group, and should
be taken to email if you want to continue. 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
Message 20 of 26
Anonymous
in reply to: Anonymous

Since this reply mitigates my constructive contribution of killing the
thread, I'll take self-aggrandizement. And can I have fries with that? 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com


"Tony Tanzillo" wrote in message
news:5735702@discussion.autodesk.com...
Owen - Do you yourself have something constructive
to contribute to this thread, or is this just an exercise
in self-aggrandizement?
[...]

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost