TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: MSTG007 on February 16, 2018, 12:13:47 PM

Title: Reorder Attribute Block Name
Post by: MSTG007 on February 16, 2018, 12:13:47 PM
I have a Block that is "_TagCircleInvert". Problem is it is in A lot of dwgs. Looking for a method to reorder the block without going thru each drawing and opening the block editor. There are 2 attributes that need to be flipped.

thank you for any inputs...
Title: Re: Reorder Attribute Block Name
Post by: Dlanor on February 16, 2018, 04:38:02 PM
Define "Flipped"
Title: Re: Reorder Attribute Block Name
Post by: MSTG007 on February 16, 2018, 05:04:15 PM
I have 2 attributes in the block. The top one needs to go on the bottom likewise on the top. Like in ascending order.
Title: Re: Reorder Attribute Block Name
Post by: MP on February 16, 2018, 05:11:14 PM
Top / Bottom as in the Y ordinate or as appears in the ATTEDIT dialog?
Title: Re: Reorder Attribute Block Name
Post by: MSTG007 on February 16, 2018, 05:12:57 PM
As seen in the att dialog box
Title: Re: Reorder Attribute Block Name
Post by: DEVITG on February 17, 2018, 11:25:01 AM
to avoid , so much doubts. Why not to show the true acad.dwg??
Title: Re: Reorder Attribute Block Name
Post by: Dlanor on February 17, 2018, 05:08:41 PM
http://through-the-interface.typepad.com/through_the_interface/2010/07/swapping-autocad-block-attribute-order-using-net.html (http://through-the-interface.typepad.com/through_the_interface/2010/07/swapping-autocad-block-attribute-order-using-net.html)

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-re-ordering-block-attributes/td-p/4814051 (https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-re-ordering-block-attributes/td-p/4814051)

http://www.lee-mac.com/batte.html (http://www.lee-mac.com/batte.html)
Title: Re: Reorder Attribute Block Name
Post by: MSTG007 on February 19, 2018, 07:38:04 AM
Sorry for taking so long to get back... Here is the block that will need to be re-ordered.