[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.
Dynamic Blocks
Tip# 2046 By Peter Jamtgaard On 01-Jul-2005
3
Rated By 1 users Downloaded : 1046
Categories : Dynamic Blocks, Blocks
Software type : AutoCAD
Rename File To : Tip2046: GetRealName.LSP
finds the original name of a block by locating the data given the entity name of a dynamic block occurrence

For those venturing deep into AutoCAD 2006 blocks, Harry received a tip from AUGI LISP guru Peter Jamtgaard, Dynamic Blocks (Tip #2046). Soon after the initial release a question came up in the Visual LISP discussion groups regarding the use of dynamic blocks in AutoCAD, and the challenge was issued to find the original name of the block programmatically. Peter answered the call by sending a LISP module that will ferret out the data given the entity name of a dynamic block occurrence. This tip is not for the beginner, but it is very useful for anyone programming AutoCAD who needs the original block name given the result of a dynamic block.

 

 

Average Rating:
3


User comments


Log In