Block Attribute Layer Change

Block Attribute Layer Change

Anonymous
Not applicable
6,507 Views
6 Replies
Message 1 of 7

Block Attribute Layer Change

Anonymous
Not applicable

Hello everyone,

Been quite awhile since I've been here, happy to be back though. Here's my conundrum.

I have a drawing that has roughly 1000 blocks in it. They all have different names as well (different pieces of equipment).
All of these blocks have the exact same 1 attribute in them:

Tag: ecode
Prompt: #CONSTANT#
Value: (different to each equip type)

Right now all of the attributes are on the exact same layer as the block itself. i would like to globally move all the block attributes to their own layer so that i can freeze them as a layer.

Yes i know i can use ATTDISP and set it to OFF but that does ALL of them. I want to only do the attributes that are contained in these equipment blocks.

I've also tried -ATTEDIT and that does work however i have to go block by block, doesn't work globally, or to a selection. Also the TAG option doesn't seem to work either.

Any thoughts, ideas, suggestions, scrips, lisps, etc would be greatly greatly appreciated.

Thanks Everyone,
John G.

0 Likes
6,508 Views
6 Replies
Replies (6)
Message 2 of 7

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

Try Battman and make sure that when you make the changes that you hit the SYNC button.

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 3 of 7

Anonymous
Not applicable

so using the BATTMAN command is great but it makes you go 1 block at a time.  Sure you can sync all blocks of that name.  But if i have 600 pieces of equipment i'd have to go 1 by 1 and sync each one.  I'm looking for a global all blocks with different names.  Thank you

0 Likes
Message 4 of 7

pendean
Community Legend
Community Legend
You will need to customize: ask for help in the correct forum over here, it would help if you posted an example sheet with a few blocks in it too http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130
0 Likes
Message 5 of 7

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

I apologize, I missed "all different names". Perhaps there is a utility in the Autodesk App Store that might help.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 6 of 7

cadwomen
Collaborator
Collaborator

so never try this , but i think it will be work

 

http://www.lee-mac.com/attributecolour.html

 

cu cw

If my post answers your question, please mark it as an Accepted Solution, so that others can find answers quickly!
0 Likes
Message 7 of 7

hallvard_skrede
Enthusiast
Enthusiast

This worked perfectly for me!

And it did it for all blocks, maybe a later update considering the feedback from anon.

- Regards HS

0 Likes