Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uniformly move attributes

2 REPLIES 2
Reply
Message 1 of 3
jaswild69
224 Views, 2 Replies

uniformly move attributes

I have been playing with attributes, I have one routine that will put attributes back at original location using ATTSYNC and another that will adjust height and width of those attributes.

Next hurdle is the position of the attributes in relation to the block. For example, I will have 2 blocks whose attributes are right on top of each other, so I can't read the attribute value. I want to pick one of the blocks, move the attribute and have that same movement applied to every instance of that block in the drawing.

Regards,
Jason
2 REPLIES 2
Message 2 of 3
st0neface
in reply to: jaswild69

my first thought is to use refedit to modify one block and attsync to update all others.

or with lisp, edit the block definition.

(setq BlkDef (tblsearch "BLOCK" "blockname"))

(setq en (cdr (assoc -2 blkdef)))

search for the attribute you want to edit and then update all with attsync
Message 3 of 3
msclout72
in reply to: jaswild69

TRY SOMETHING LIKE This only select 1 block though.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost