I have some blocks with attributes, with the default of some of the attributes being blank. When I try to transfer the block to my Tool Palette, the block loses the attributes that have blank defaults. Why are these attributes disappearing from the block?
Thank you,
Jeff
Solved! Go to Solution.
Solved by Charles_Shade. Go to Solution.
The short answer is that the attributes shouldn't disappear.
Be sure that you have created the blocks and attributes properly. It doesn't matter if you leave the default value in the attribute definition blank or insert %%... both will work. But you do need to insert the blocks in the originating drawing, test them to ensure they work, and then save the drawing. At this point you can select and separately drag the blocks onto a Tool Palette.
If you've done all of this properly it will work. I suspect you missed a step somewhere. I have attributed blocks in all sorts of tool palettes.
Dave.
ATTSYNC as well may need to run if the Block is Redfined
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
The block attributes still disappear when using a blank default, but, using "%%" for the default works. The attributes stay connected to the block.
Thank you,
Jeff
Glad that worked but interesting as heinsite stated. Never seen that behaviour here with an Atrrib and a blank default.
Would you mind posting a sample Block?
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
Attached is a dwg with a dynamic block with attritbutes containing "%%". If you see anything strange in the definition, please let me know.
Thank you,
Jeff
Each Attribute must have a unique Tag. Though the %% may be working to hide this issue the Tags for each of these Attribs need to be different. Maybe TYP1, TYP2, etc. will work for you. If you decide you need to Move or Rotate these through Dynamic Actions they will fail because of the naming convention you have.
Ultimately for the Block to work properly this will need to be done.
When you open this in the Enhanced Editor the commonly named Attribs show as Red and are; surprisingly, editable.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I did not realize that. After reading that the attributes need individual tags, it makes a lot of sense. Thank you.
Thank you,
Jeff
i am trying to copy from one dwg to another but it is failed , but this problem is facing me in two files only, while the others are acting normally..
any solution ?
my attributes still don't show after I make it a block. Does the block I'm attaching the attributes to have to be dynamic?
then share another one 😉
>>"Does the block I'm attaching the attributes to have to be dynamic?"
No!
You need ATTDEF (Properties invisible=No and constant=No)
Insert a new Blockreference and it should work.. and for older Blockreference of this block: User ATTSYNC to update the Attributes