[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Re-insert a Block from a File
Tip# 2154 By Will DeLoach On 01-Oct-2006
4
Rated By 1 users Downloaded : 561
Categories : Edit Blocks, Blocks, Nested Blocks, Standard Blocks
Software type : AutoCAD
Rename File To : Tip2154: rib.lsp
Replace all occurances of a block in a drawing with the block you specify from a file.

Re-insert a Block from a File (Tip #2154) was supplied by power programmer Will DeLoach. If you have blocks in drawings that must be replaced with ones from disk, then you need this tip. Load the LISP code, then type RIB. First, select the block that you want to replace, and the program presents a file selection dialog box from which you select the replacement block. All occurrences of the block insert are replaced in the current drawing. This is another very well-written tip that's extremely useful when working with dynamic blocks.

 

 

Average Rating:
4


User comments


Log In