Edit attributes of existing block in the block library. Not the drawing

Edit attributes of existing block in the block library. Not the drawing

Anonymous
Not applicable
1,058 Views
9 Replies
Message 1 of 10

Edit attributes of existing block in the block library. Not the drawing

Anonymous
Not applicable

Hello,

 

I need help with editing the order of attributes so they appear in a  desired order once inserted into a drawing. I need to edit the block in the library so they are in the right order very time they are inserted. Not just edit the block in the drawing using BATTMAN. There are tons of blocks I need to update. Is there an easy way of doing this? Other than deleting out the attributes, purging and re-pasting in the Atts I need? 

Thank you.

0 Likes
Accepted solutions (1)
1,059 Views
9 Replies
Replies (9)
Message 2 of 10

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

I see that you are visiting as a new member to the AutoCAD forum. Welcome to the Autodesk Community!

 

 What kind of library of blocks are you dealing with? Do you simply have folders with individual blocks or do you have files that contain more than one block?  If they are all individual blocks then I suspect you will have to insert each into a file, adjust the attributes using BATTMAN and then write the file back out using WBLOCK. If the latter, you should be able to use BATTMAN in the library file that contains each block. Then when the block is pulled from there they will show up correctly.

 

Please give me some more detail.

 

 

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
0 Likes
Message 3 of 10

Anonymous
Not applicable

Hi, thanks for answering back. Each block is its own file. They were created by different users, so the order that the Atts where applied is not consistence. Each block is then inserted into a drawing individually. When the end user goes to edit those Atts, the order for each block is different. I would love to go back to each block and modify the order in each individual file. I been doing this by deleting the current Atts in the block then reinserting them in the order I want them to appear once the block is inserted in the final drawing. But there must be an easier way?    

0 Likes
Message 4 of 10

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

Can you share a couple of the blocks so I can play with them?

 

I like to keep my  blocks in library files so when I edit them I find it a bit easier.


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 5 of 10

Anonymous
Not applicable

would these work for you?

0 Likes
Message 6 of 10

john.vellek
Alumni
Alumni

Hi Danielle,

 

I inserted the 13-5005 into my drawing file.  I used Battman to move the Room number attribute order below the Finish Number.  I saved this change and then Wblocked the file out.  When I insert the new definition into a new drawing file, the changes I made remain.  This is (to me) easier than rebuilding the attributes from scratch.

 

This is why I like to keep Library "files" that contain many similar blocks.  I can edit them all in the one library file and then WBLOCK them out at will or use Design Center for inserting them into another drawing or even to create a Tool Palette.

 

 

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
0 Likes
Message 7 of 10

Anonymous
Not applicable

Thank you but this will not work for my situation. I need to edit each original source block/file. Also, I would not be able to use a library files with many blocks. Each block has to be on it's own. I have tried what you suggested before and it has not fixed the issue. Thank you so much for looking into it.  

0 Likes
Message 8 of 10

john.vellek
Alumni
Alumni
Accepted solution

Hi @Anonymous,

 

That method might still work for you.  Editing the block in another file using BATTMAN should hold the changes when using WBLOCK.  If you want individual blocks after the edits there are routines that will write them all out of the "library" file at once.  This lets you have the management advantage of one file with all the blocks but the ease of use for your users of individual files to work from.

 

I made a quick video to show how the attribute order gets retained when using my method.  You will see that I insert one of your blocks into a drawing. Then I use BATTMAN to adjust the attribute order. Next I WBLOCK to a new location. When the new block is inserted into a new drawing, the attribute order that I set is retained.

 

 

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 9 of 10

cadffm
Consultant
Consultant
What you need is a tool, but we dont know the order logic.

By hand:
Note deleting and then recreate isn't a short way,
move them and copy back to the place in your wanted order.
Note also command bedit and battorder inside bedit.

But really good is only a extra tool, for thi the program need to know the att order..

Sebastian

Message 10 of 10

Anonymous
Not applicable

THANK YOU! THANK YOU! It worked. I wasn't using the "sync" part. That video is what I needed. Thank you for walking me through it.