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
 Tips and Tricks
 Block insert - easy way
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ghawkins
Starting Member

USA
1 Posts

Posted - April 13 2005 :  7:05:38 PM  Show Profile  Visit ghawkins's Homepage  Reply with Quote
Here is another way to do a block insert so AutoCad doesn't ask you to fill in the attributes:

Insert your block(s) into a blank drawing. Save the drawing, give it a different name from your inserted block, in your drawing directory. For this explanation, let's call it x.dwg
Create and run your script that inserts and explodes x.dwg.

This works very well for block replace, just insert your old block and new block into the same drawing. Create a script that -insert x.dwg into your drawing in an unused portion, runs br.lsp or similar program that "selects" the old block, and replaces it with the new block. Remember to include erase window of the inserted blocks and purge in your script.

Word of caution, never include a space in the filename of a block. If you try to do the above block replace ACad thinks the space is an enter key press.

ghawk

Admin
Administrator



652 Posts

Posted - March 27 2007 :  7:06:15 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Note: YES, never use a space in a block name, however:
IF you ever run into a block that has a name with a SPACE in it, just encapsulate the block name in QUOTES.
THE BLOCK <- not good
"THE BLOCK" <- will work

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
  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.26 seconds. Snitz Forums 2000