[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.
Get Dynamic Block's Original Name
Tip# 2188 By Michel Chayer On 01-Mar-2007
2
Rated By 1 users Downloaded : 470
Categories : Dynamic Blocks, Blocks
Software type : AutoCAD
Rename File To : Tip 2188: NOMBLIK.LSP
Routine automatically fetches the original name of a dynamic block used in a drawing.

Get Dynamic Block's Original Name (Tip #2188) comes from Michel Chayer's programming library. The utility function named NOMBLK fetches the original name of a dynamic block used in a drawing. Dynamic blocks are inserted using anonymous names (asterisk followed by alphanumeric characters) meaning that the (entget) function of an insert object doesn't return the name of the source block. This LISP function has one parameter for the entity name of a block insert. If you want the routine to ask for an entity selection, then supply nil as the variable value. This handy utility digs into the 360 and 340 DXF codes to extract the desired name.

 

 

Average Rating:
2


User comments


Log In