The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Scripting via AutoCAD Core Console

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

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

* HTML is OFF
* Forum Code is ON
Smilies
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
Strobe Posted - March 10 2020 : 2:24:41 PM
Has anyone figure out how to configure Hurricane to run scripts via the AutoCAD Core Console (accoreconsole.exe) instead of acad.exe? I've changed the "AutoCAD Executable Location" to point to the core console exe but it's not working.
1   L A T E S T    R E P L I E S    (Newest First)
Admin Posted - March 10 2020 : 3:05:17 PM
Hi Strobe,

AutoCAD Core Console requires a different input format. It seems to work on one drawing per Console session. (I could be wrong though, as I've never used it). I can see immediately that it doesn't have the same input format, as the output Hurricane makes tailored for the AutoCAD command line.

Console uses [drawing][script]

While Hurricane generates a single 'batch' script that opens each drawing consecutively and then applies each command (built into the main script).

Please see here for good examples of Core Console.
https://houseofbim.com/2016/10/05/son-of-a-batch-autocad-core-console-through-lisp/

Apart from the lighter footprint, I fail to see the advantage of CC.

Disadvantages: Seem like (but I could be wrong! Please fill me in!), that if launching multiple CC's at the same time (through a lisp or VBA), each CC is running asynchronous. So when printing, for example, whichever drawing opens and prints first gets printed (hardcopy) first. Could definitely be an issue if you want then printed in a particular order (PDF's would be fine obviously!), or if you want to update title-blocks, and have the drawings numbered consecutively. Or am I missing something?







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