Bob Basques
Usenet Archive
- Joined
- Jul 7, 2003
- Messages
- 18
- Reaction score
- 0
All,
While this works just fine (try it in a blank drawing):
(command "_-image"
"attach"
"http://pwultra5.ci.stpaul.mn.us/cp_tiles/L4a/598000_134000_606000_142000.jpg" "598000.0000,134000.0000" 8000
0)
How would one go about validating whether or not the file on the web server exists or not. Either inside of AutoCAD or externally. It seems like there should be something available to do this seeing as how AutoCAD supports importing directly from a webserver like this, wouldn't you think?
The COMMAND function always returns "nil" for example. I also tried the "vl-cmdf" function, but it also works as it's supposed to and returns "T" everytime, I assume because the Command is ordered properly.
running things like this:
(command "_-image"
"attach"
"http://pwultra5.ci.stpaul.mn.us/"
"598000.0000,134000.0000"
8000
0)
I'm prompted to :
Enter image file name to attach :
Maybe this can be of help to match against, although I have no idea how to do that. :c)
Anyone have any ideas?
Thanks
bobb
While this works just fine (try it in a blank drawing):
(command "_-image"
"attach"
"http://pwultra5.ci.stpaul.mn.us/cp_tiles/L4a/598000_134000_606000_142000.jpg" "598000.0000,134000.0000" 8000
0)
How would one go about validating whether or not the file on the web server exists or not. Either inside of AutoCAD or externally. It seems like there should be something available to do this seeing as how AutoCAD supports importing directly from a webserver like this, wouldn't you think?
The COMMAND function always returns "nil" for example. I also tried the "vl-cmdf" function, but it also works as it's supposed to and returns "T" everytime, I assume because the Command is ordered properly.
running things like this:
(command "_-image"
"attach"
"http://pwultra5.ci.stpaul.mn.us/"
"598000.0000,134000.0000"
8000
0)
I'm prompted to :
Enter image file name to attach :
Maybe this can be of help to match against, although I have no idea how to do that. :c)
Anyone have any ideas?
Thanks
bobb