Ordering Attributes in Block Attribute Manager

Ordering Attributes in Block Attribute Manager

Anonymous
Not applicable
2,701 Views
6 Replies
Message 1 of 7

Ordering Attributes in Block Attribute Manager

Anonymous
Not applicable

Hello,

I am having issues with getting the attributes to show up in the right order in the Enhanced Attribute Editor. I did the painful task of re-ordering each of the 50 attributes in the Block Attribute Manager(shown below), but when I double click the block to edit each attribute, which opens the Enhance Attribute Editor, they are in reverse order. This is also the case when inserting the dynamic block, when prompted to enter values for each attribute. you have to start at the last row in the table.

Enhanced Attribute Editor pic.JPGBlock Attribute Manager pic.JPG

 

Attached is the block for further inspection.

***(Side problem, discovered while attaching the file: I'm having a hard time having the preferred visibility state show up as the default. I want all rows of the table to show up and be editable when inserting the block)***

***EDIT*** I went ahead and added a visibility state "All" at the beginning of the list, which seems to sort of fix this additional problem, but now I am showing that the block inserts with missing borders to the table. Attached is the updated block. I will keep working on it from here.

 

Thanks for any help offered!

Michael

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

cadffm
Consultant
Consultant
I think you have to learn more about blocks attdefs blockreferences and attributes.
How to work with battman & internal sync option and perhaps about attsync too.

I check your dwg soon for the perfect fit answer in detail.

BATTORDER is also a nice command!
https://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-93CA12A7-41AA-41CB-B84B-6C1C5FC146E7

Are you familiar with ATTSYNC and what the command do?

Sebastian

0 Likes
Message 3 of 7

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

I modified the attribute order using BATTMAN and had no problems in seeing the order change in the block once I used Apply and Sync.

 

Are you inserting this block into a drawing where the block was previously inserted? You will need to purge or rename the original block so you see the updated definition.

 

 

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 4 of 7

Anonymous
Not applicable

I definitely have more to learn for sure! And of course the more I learn, the less I realize I know, as in most things!

I am still working on this block as we speak. I did learn about ATTSYNC, but have forgotten about it since I first learned of it. Also I don't totally understand it.

 

Thanks!

0 Likes
Message 5 of 7

cadffm
Consultant
Consultant

I now have your block definition (but not your block reference)
but along with your last answer, I'm sure: Attsync was the solution, right?

 

In short:

ATTDEF (non-conatant) are only the template for new blockreference-attributes,

after creating the blockreference the attributes of this blockreference are absolutly independing from your

block(definition) / With one exception: The position - but only if you use the property 'lock position'.

You can delete all your attdefs from your block, but you will see and can edit the attributes on your existing blockreferences as well.

 

ATTSYNC delete, create and edit attributes of existing blockreferences of your block, so they are 99%* even with the current blockdefinition.

 

*this is a sidekick to AutoDesk, because not all properties of attributes are really sync with the current definition.

 

Nice if it helped.

Sebastian

0 Likes
Message 6 of 7

Anonymous
Not applicable

So, I am not totally comprehending the difference between the block definition and reference, in regards to transferring it to you to look at, but I was also having problems with another block with the same name. I did a "Write Block" and renamed it(after using BATTORDER on the attributes, in the block editor-thanks CADffm & John.Vellek) and this worked.

I'm not really sure when to use ATTSYNC though. After editing the block and when it is inserted into a drawing?

 

Thanks so much for your help, both of you!

Michael

0 Likes
Message 7 of 7

cadffm
Consultant
Consultant

@Anonymous  schrieb:
I'm not really sure when to use ATTSYNC though. After editing the block and when it is inserted into a drawing?

When you have blockreferences (with attributes) and you edit/add/delete attributdefinitions in your blockdefinition,

then you can use ATTSYNC to update the existing block references (or better, their attributes) to the (now) current blockdefinition.

NEW blockreferences ever based on the current template (your current blockdefinition).

 

Carefully.. if you rename  attributdefinition in bedit or refedit, you will loose your attribut values in your blockreferences. For renaming you need command BATTMAN and the setting for sync [F1 - BATTMAN] (not the button "sync").

But these explanations should rather someone write better english 😉

 

Sebastian

0 Likes