T O P I C R E V I E W |
anthenson |
Posted - July 11 2006 : 06:39:35 AM Hi
I have hundreds of drawings in AutoCAD 2007 format. I ran Hurricane to "saveas" Acad2000 on all of them but when I open the resulting files in AutoCAD 2000 I gar ARX errors.
Only if I go "file" "export" to Acad2000 doeas it get rid of these problems.
How do I run a script to "export" to Acad2000 rather than just "saveas" Acad2000
Thanks |
10 L A T E S T R E P L I E S (Newest First) |
Admin |
Posted - July 11 2006 : 1:55:14 PM Haha!
You are right... I totally forgot about that! I just usually set/unset it in the SETTINGS tab, and never have to think about it.
Regards, Bill
|
anthenson |
Posted - July 11 2006 : 1:17:23 PM Brilliant, that works thanks guys. |
n/a |
Posted - July 11 2006 : 1:12:11 PM I must be missing something here, or I think Bill would have suggested trying it, or maybe he tried it and ruled it out:
Have you tried setting the AutoCAD system variable "filedia" to 0? I think it has certain commands it works with and others it does not, but the intent of the setting is to leave the user at the command (or script) line without opening a dialog box.
(Or does Hurricane set that variable automatically before it starts the script?) |
Admin |
Posted - July 11 2006 : 11:59:25 AM No problem.
AutoCAD seems to have an apparent issue with some commands, in that they CANNOT operate at the command line, OR they inadverdently present the user with a "dialog box" to which a mouse click must be invoked.
The bottom line is that scripts CANNOT control dialog boxes, so an alternative command must be found to perform the function desired. Sorry, but it's a limitation of AutoCAD.
Regards, Bill |
anthenson |
Posted - July 11 2006 : 11:45:38 AM _AecExportToAutoCAD2000 seems to work and bring up a dialog box similar to saveas (ie asking for the filename)
If I run "_AecExportToAutoCAD2000" as a script on a list of drawings do I have to watch the process hit "save" with the cursor every time the dialog box comes up, or can Hurricane do all that for me?
Sorry for being dim as I am sure it can! |
Admin |
Posted - July 11 2006 : 11:04:43 AM This might help you out. I missed the forest for the trees, and should have suggested this earlier...
Have you tried DWGGATEWAY? http://www.dwggateway.com
I have made Hurricane compatible with it (Just go to the Tools->Options->Prefs and make sure you select "Use DWGGateway")
Also, does "_AecExportToAutoCAD2000" run at the command prompt? What happens? Doing a search, looks like there is a lot of weirdness with that command... possible AutoCAD bugs.. http://clusty.com/search?query=_AecExportToAutoCAD2000
Hopefully DWGGateway will solve your issues, it has gotten me out of a bind many a time!
STEVE - No problem! Let me know how things go...!
Regards, Bill |
n/a |
Posted - July 11 2006 : 10:48:19 AM Sorry, Bill ! I shouldn't have assumed Hurricane was incompatible at this time with 2007. In fact, I'm glad to hear it is compatible already, then, since I am in the process of switching over. |
anthenson |
Posted - July 11 2006 : 10:47:48 AM The fault here is definitely not with Hurricane, it is with Autodesk Building Systems.
Having looked into it further any object created in ABS that is over and above basic AutoCAD commands are not compatible with previous versions, even if you SAVEAS 2000 etc.
The only way to make them back compatible is to use "export to AutoCAD version" in the file pulldown menu and pick Acad2000. This should then explode all AEC objects to ordinary AutoCAD objects. It calls up a dialog box asking for a filename the same as if you type "saveas"
When I do this and look at the command history it appears to say:
Command: _AecExportToAutoCAD2000
Does this sound like something I could make a script of using Huricane?
Thanks |
Admin |
Posted - July 11 2006 : 10:38:32 AM Hi anthenson,
If the option is there to save as r12/DXF then I **think** you will have no problems opening your files back into 2000. I thought I heard something about this recently. (You can type in the SAVEAS "type" into the SAVEAS tab, (you are NOT limited to only the items in the drop down list)
As best I can tell, the EXPORT command will only output a BLOCK (in the same version you are currently using (unless they have done something very different in 2007)
As for the "compatibility". Since R2000, there hasn't really been anything "different" in how AutoCAD handles scripts. (From my records, there are many users of 2007+Hurricane with no complaints)So YES, Hurricane is compatible with 2007, it is just a matter of writing your user scripts correctly for the version of AutoCAD you are running.
If the AutoCAD command doesn't function correctly (i.e. SAVEAS to 2000, then 2000 opens with errors), then that is an AutoCAD 2007 bug. Hurricane doesn't do anything to your files, AutoCAD does it all.
If AutoDesk changes something in the format of their "OPEN" or "QSAVE" commands, then I will update Hurricane with an option/exception for R2007 and make the option available in the Tools->Options menu, but if Hurricane is writing the script correctly (opening and executing and closing in batch), then everything is ok, you just need to confirm the guts of your script.
Hope this helps!? (I guess I should update the webpage to make this clear!)
|
n/a |
Posted - July 11 2006 : 08:47:23 AM anthenson
I don't have an answer to your question directly, because I only have AutoCAD 2007 installed on my home machine which I don't have access to right now to test a script for exporting.
I can suggest that the problem may have resulted from the fact that AutoCAD 2007 is a completely different file format than AutoCAD's 2004 to 2006. I checked Hurricane's home page and it did not list compatability with 2007 yet. 2007 has only been out for a couple of months. I am pretty sure that Hurricane will be made compatible with 2007 soon, but suspect that it probably is not at this time. |