The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Need help writing a script

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
jmoore284 Posted - August 16 2006 : 08:44:54 AM
I am needing some assistance on writing a script that will grab a block from a location on a network and insert it into a batch of drawings at a designated location. The block I am dealing with right now is a void stamp/block that I need to be placed into all drawings in a set. The way I have been doing it so far is to insert it into the first and copy at base point 0,0 and then paste it at those coordinates throughout the set manually. I then have a script that opens all of the drawings and zooms into the stamp so that any time someone would happen to open the drawings the first thing they would see is that it has been voided out.

I would appreciate any assistance with the script.
1   L A T E S T    R E P L I E S    (Newest First)
Miksteele Posted - August 16 2006 : 09:05:06 AM
Below is a script I use to insert a simple block uniformly to a set of drawings. Hopefully this helps.

The easiest way for me to create a new type of script is to first do it manually on the command line and then use Hurricane's capture feature. Once I have a base script for something I usually just doctor it up as needed for other uses.

;;INSERT check print block
-INSERT
"P:AUTOCADBLOCKSCHECK-PRINT-BLOCK.dwg"
0,0,0
1
1
0

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