Aren't you forgetting the HTTP Response Tony? Sure the QueryString passes
parameters but it can only do so from a client which in this case would have
to be AutoCAD agreeing of course that the link was clicked within that
application which must support an HTTP Handler. I got the point about the
COM server though.
I'm an experienced web developer but tried going back to my old "true love"
back in the day with ADT2004 which is the last release I've had hands on.
Without getting too detailed when I learned what a piece of dog sh!t it was
and the way the Autodesk developers crippled their HTTP handlers with the
sickest most evil implementation of a hyperlink I've ever observed I was
dejected and have yet to recover.
Still, I want to keep an eye on any possibilities of development within the
AEC markets as I'm still not fully cured of the virus from San Rafeal and
once going back to work as an architect may find me soon back in so deep
I'll never get out again. So, at the moment I'm looking back in as an
outsider so to speak.
Is there anyway to really delve into what I could do with AutoCAD or Revit
for example as a .NET Developer with a focus on integration with web forms
without paying to buy into their developer program?
<%= Clinton
..
"Tony Tanzillo" wrote in message
news:5717883@discussion.autodesk.com...
"clintonG" wrote
>> Excuse me for barging in but the use of the
>> hyperlink with a QueryString would be a common
>> way to approach the expressed objective would it not?
A query string is just a way to pass parameters through
HTTP. If a server uses HTTP, then query strings are
generally how they get parameters.
>> But...is it not correct that AutoCAD can not
>> function as an HTTP client receiving the response
>> which would for example update the drawing in the
>> editor?
Huh? AutoCAD plug-ins can be HTTP clients, but that
isn't necessary here, as there is no role for an AutoCAD
based client. The 'client' in this case, is at the other
end of the wire. AutoCAD needs to work with the server
to provide the client with what it asks for.
If AutoCAD is running on the same system as the HTTP
server, that server can talk to AutoCAD via a number of
means, where the specific one that's used is merely an
implementation detail.
AutoCAD itself, or a plugin that runs inside it, does not
need to be an HTTP client or HTTP server. Generally, an
AutoCAD plugin component that exposes a COM sever
(which an HTTP server can connect to), is how it would
be done.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
The fundamental question not being "can AutoCAD be automated" but can the
drawings in the editor be updated dynamically using various Internet
protocols primarily HTTP?
"Norman Yuan" wrote in message
news:5715928@discussion.autodesk.com...
When saying "web application", it usually means a pplication run on the web
server and it sends HTML marked stream to user's web browser to render the
result as a web page.
In your case, your user actually works with browser to get some information,
and you want to use the information to do something with AutoCAD on the
user's computer locally. Yes, you can automate AutoCAD from the browser,
using browser's client side script, as long as you can get the information
required from the page displayed on the browser. However, there are some
security issues that make the client-side automation a bit complicated. With
latest MS technology, if I need to automate AutoCAD with information
available on a web server, I'd look into .NET smart client application. Or
even build the "smartness" (consume information on a web server) rigth into
AutoCAD with ObjectARX NET API.
wrote in message news:5715820@discussion.autodesk.com...
Thanks for your answer,
I should be more accurate :
I would like that autocad's users could add dwg files (external references)
by using a script sent by a web application (and not trough the menu «
insert » and « ext ref »).
Data are cut into stitches. It would be much easer for any user to select
them graphically (instead of checking by their names).
They have to select graphically their stitches through a web application,
and then a validation order has to be send to autocad to load the stitches
chosen into external references.
Thanks for your attention,