[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.
Swap Attribute Values within the Same Block
Tip# 4141 By Patrick Evangelista On 19-Jun-2013
Rated By 0 users Downloaded : 253
Categories : Attributed Blocks, LISP Code Modules, Programming Examples
Software type : AutoCAD 2014
Rename File To : swapatt.lsp
Push attribute values from a certain tag into other tagged attributes.

SwapAtt is a function that will push attribute values from a certain tag into other tagged attributes in AutoCAD. It is designed to be used inside other LISP functions. The function name is (swapatt) and it requires two arguments, each a quoted list of tag names. The first element in the first list will be replaced by the first element in the second list, and so on. Tip contributor Patrick Evangelista provides an example at the bottom of the LISP file.


Average Rating:

User comments
Comment by Mohamed,Zeinab
Posted on 2013-06-29 11:28:38
Dear Patrick Evangelista, I tried to download it, but i get message "you don't have permission to access folder on server.How can i get it? Thank you in advance.

Log In