The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 General Discussion
 SAVEAS value when creating a zip file!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gdury
New Member

United Kingdom
19 Posts

Posted - October 18 2007 :  11:44:21 AM  Show Profile  Reply with Quote
Hi
I'm trying to resolve a problem with my script to save the zip file in the path location listed with the SAVEAS value set on the Hurricane programme when it is run.
At present the zip file is being saved in the path location WITHOUT the SAVEAS suffix ie A00.

Script details:

filedia 0
ARX
L
BINDPTCH
;PERMANENTLY BIND ALL
;XREFS TO DRAWING
-XREF
BIND
*
;PURGE ALL UNUSED
PURGE
A
*
N
;PURGE ALL UNUSED
PURGE
A
*
N
;PURGE ALL UNUSED
PURGE
A
*
N
;SAVE DRAWING
QSAVE
;ETRANSMIT DRAWING
-ETRANSMIT
C
;Enter filename <current name.zip>
"G:\0391A\JOBDATA\DUMP\$FILENAME$.ZIP"
FILEDIA 1
;END

Any help would be appreciated

Regards

Graham Dury
G.L.Draughting Ltd

Download Attachment: saveas details.JPG
89.92 KB

Graham Dury - G.L.Draughting Ltd, Contract Draughting Services

Admin
Administrator



653 Posts

Posted - October 18 2007 :  9:13:19 PM  Show Profile  Reply with Quote
Hi Graham,

Once you click the "CREATE" button, you will see how your compiled script is put together. You will notice that the SAVEAS portion IS updated, but the -ETRANSMIT portion isn't.

If you want to add the A00 suffix to the -ETRANSMIT command, you will need to add it manually to the user script by changing the line to this:

"G:\0391A\JOBDATA\DUMP\$FILENAME$-A00.ZIP"

I hope that explains it?!

Regards,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

gdury
New Member

United Kingdom
19 Posts

Posted - October 19 2007 :  03:53:37 AM  Show Profile  Reply with Quote
Bill

Thank-you for your reply and the solution which works.I have found an number of these extranet facilities require uploading of the project drawings in various formats including the Autocad Etransmit (Zipped package)
which allow the project team to access the file types. This modification to the script will save me considerable time.

Regards

Graham Dury

Graham Dury - G.L.Draughting Ltd, Contract Draughting Services
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2025 Go To Top Of Page
This page was generated in 0.4 seconds. Snitz Forums 2000