The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Dassault DRAFTSIGHT Compatibility - HOW TO

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.

T O P I C    R E V I E W
Admin Posted - March 18 2019 : 08:57:08 AM
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!

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000