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
 Dassault DRAFTSIGHT Compatibility - HOW TO
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Admin
Administrator



651 Posts

Posted - March 18 2019 :  08:57:08 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Everyone,

As you may know, Draftsight by Dassaut systems (the same people that make SolidWorks) have made an AutoCAD compatible clone, that is actually quite good.

It has been asked before whether Hurricane can generate scripts that run on Draftsight, and achieve some level of Automation, and at the time (years ago), I didn't think it could.

After some time, and some playing around, I've got Hurricane working (using the current version, no update required).

Just a couple of things need to be changed in your setup, and procedural things to keep in mind.

So here we go...

1) Setup - DraftSight doesn't have SDI compatibility. It seems to be in multi-document mode permanently. No problem. Rather than switching SDI on and off, like we typically do when running a script, we just need to ensure that the last drawing is closed after the script is executed on it.
a) Go to the SETTINGS tab, and delete SDI 1 from the "Prebatch Command" field, and delete SDI 0 fro the "PostBatch Command".
b) Add "CLOSE" to the "PostUserScript Command" (this will close the current drawing, after the script, but before the next drawing is opened)

2) Draftsight can't seem to handle a script that is thrown at it with the /b switch (although AutoCAD can). To get around this, one must use the "Create Batch Script" button, and NOT use the "Create and RUN Batch Script" button. You'll then need to run the script by typing "SCRIPT" at the command line, then selecting the compiled batch script file
(which you've defined in "Tools->Options->Config)

3) One last thing... you'll need at least 1 drawing open before you can do step 2 above.

DraftSight is a bit strange when executing the batch script, as it doesn't show the drawings being worked on (as AutoCAD does). It seems to just flicker and look busy, but rest-assured the drawings are being processed.

I will update this post/tread as I discover more. Feel free to comment with your own tips/tricks too.

Thank you!

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.36 seconds. Snitz Forums 2000