TheSwamp

CAD Forums => CAD General => Topic started by: jonesy on April 11, 2008, 08:36:54 AM

Title: Attributes in block, but not showing in Block editor
Post by: jonesy on April 11, 2008, 08:36:54 AM
I've got that TGI Friday feeling  :-) and I have a feeliing I'm having a "moment"

I have a drawing frame come from a client and I need to edit the attribut definitions to something other than "*"

I have tried opening the block in the block editor, but there are no attributes in the block. However I can edit the attributes if I double click on one (trouble is, as the attribute tags are all called * its difficult to to figure what text to put where.)

Before I roll this out to the whole company, I need to get this drawing to work.

Any ideas how I can get to the attributes to redefine them?

Many thanks in advance
T  :-)
Title: Re: Attributes in block, but not showing in Block editor
Post by: Chuck Gabriel on April 11, 2008, 09:01:55 AM
One thing that has bitten me before is I assumed the attributes were part of the title block, but they were actually in a separate block called tb-info or something like that.  Could that be what's happening to you?
Title: Re: Attributes in block, but not showing in Block editor
Post by: jonesy on April 11, 2008, 09:33:24 AM
Thanks for your reply Chuck

Looking at the block theres just 2 parts to it (the original block and a block that has 1 attribute assigned). I cant select the attributes (theres no grips), but if I double click, I can enter my text. If I explode the block, the attributes disappear, and like I said, they are not there in the block editor.

All I want to do is change the tags :( I dont want to mess with a client border too much
Title: Re: Attributes in block, but not showing in Block editor
Post by: Rob... on April 11, 2008, 09:37:17 AM
After assigning a generic value to all of the attributes i.e. XXX, use burst instead of explode. Burst works similar to explode but keeps the values that you assigned to the attributes.
Title: Re: Attributes in block, but not showing in Block editor
Post by: jonesy on April 11, 2008, 09:44:22 AM
Thanks for that Rob. I'd thought about using that, but it means I'd completely need to rebuild this block... as the attributes then become text.

I guess I was looking for a "lazy" way or hoping that I'd missed something.
Title: Re: Attributes in block, but not showing in Block editor
Post by: Rob... on April 11, 2008, 09:51:36 AM
Have you tired "BATTMAN", yet? I'm thinking that the text style that is assigned to the attributes might have a zero hieght.
Title: Re: Attributes in block, but not showing in Block editor
Post by: jonesy on April 11, 2008, 10:15:24 AM
Yes I have. When I finally purged out the only other block in there, the text was still there. I could double click to edit the attributes, BUT, if I did the battman, it tells me the drawing contains no attributed blocks.

Maybe its just me, but it has me stumped for now.
Title: Re: Attributes in block, but not showing in Block editor
Post by: Chuck Gabriel on April 11, 2008, 10:16:17 AM
It looks like the block was redefined with no attributes after it had already been inserted with attributes.  The current block definition contains no attributes.  I don't think you are going to have any choice but to recreate the block.

Sometimes people do the strangest things to their drawings.
Title: Re: Attributes in block, but not showing in Block editor
Post by: Josh Nieman on April 11, 2008, 10:20:08 AM
Building on Chuck's thoughts... what happens when you run a ATTSYNC on the block?  That'll kind of reconfirm his assessment.
Title: Re: Attributes in block, but not showing in Block editor
Post by: hudster on April 11, 2008, 10:54:04 AM
the block appears to reference itself, when you edit the title sheet (Block A$C6BCF6960), the attributes are contained in it as a block and are also called A$C6BCF6960, so you can't edit them as they are already checked out for editing.

if you edit the block in place, erase everything except the attributes, then explode the attributes, the title sheet re-appears.

Do you know Which CAD system was used to make the block?
Title: Re: Attributes in block, but not showing in Block editor
Post by: Keith™ on April 11, 2008, 11:19:46 AM
Tracey, the attributes in this title block were evidently added after the block was created. Unfortunately unless you have a program to add them back to the block reference, you won't be able to have the attributes available for insertion into a new drawing.

Of course you can always download my attribute utility that will allow you to rename the tags for that particular block instance.

 get Modatt here (http://www.theswamp.org/lilly_pond/index.php?dir=keith/&file=ModattRel.VLX)
Simply cycle through the attribute definitions select the "global" check box for the attribute name then click the "global" button. It will change all of the names for all block insertions of that name in the drawing.
Title: Re: Attributes in block, but not showing in Block editor
Post by: jonesy on April 14, 2008, 07:15:58 AM
Building on Chuck's thoughts... what happens when you run a ATTSYNC on the block?  That'll kind of reconfirm his assessment.
Thanks Josh, I've tried that this morning and it came back with no editable attributes. So I ended up recreating the block.
Title: Re: Attributes in block, but not showing in Block editor
Post by: jonesy on April 14, 2008, 07:22:07 AM
the block appears to reference itself, when you edit the title sheet (Block A$C6BCF6960), the attributes are contained in it as a block and are also called A$C6BCF6960, so you can't edit them as they are already checked out for editing.

if you edit the block in place, erase everything except the attributes, then explode the attributes, the title sheet re-appears.

Do you know Which CAD system was used to make the block?
Thanks for your reply Andy. I finally got the title block to work! I havent a clue which cad system was used. This is just a very small part in the job I am setting up at the moment... but on Friday it really was testing my patience
Title: Re: Attributes in block, but not showing in Block editor
Post by: jonesy on April 14, 2008, 07:25:31 AM
Tracey, the attributes in this title block were evidently added after the block was created. Unfortunately unless you have a program to add them back to the block reference, you won't be able to have the attributes available for insertion into a new drawing.

Of course you can always download my attribute utility that will allow you to rename the tags for that particular block instance.

 get Modatt here (http://www.theswamp.org/lilly_pond/index.php?dir=keith/&file=ModattRel.VLX)
Simply cycle through the attribute definitions select the "global" check box for the attribute name then click the "global" button. It will change all of the names for all block insertions of that name in the drawing.
Thanks for looking into this for me Keith, in the end I went with recreating the block, that way I know how it goes together :)
Title: Re: Attributes in block, but not showing in Block editor
Post by: Kate M on April 14, 2008, 08:34:27 AM
Tracey, the attributes in this title block were evidently added after the block was created. Unfortunately unless you have a program to add them back to the block reference, you won't be able to have the attributes available for insertion into a new drawing.
ATTSYNC?
Title: Re: Attributes in block, but not showing in Block editor
Post by: Keith™ on April 14, 2008, 09:35:56 AM
Tracey, the attributes in this title block were evidently added after the block was created. Unfortunately unless you have a program to add them back to the block reference, you won't be able to have the attributes available for insertion into a new drawing.
ATTSYNC?
Nope .. no attributes in the block to sync
Title: Re: Attributes in block, but not showing in Block editor
Post by: Kate M on April 14, 2008, 12:03:17 PM
Tracey, the attributes in this title block were evidently added after the block was created. Unfortunately unless you have a program to add them back to the block reference, you won't be able to have the attributes available for insertion into a new drawing.
ATTSYNC?
Nope .. no attributes in the block to sync
If the block was created, and then attributes were added, ATTSYNC should push them out to all instances of the block. If the block was created with attributes, and they were subsequently removed, ATTSYNC would remove them from all instances.

It sounds like Tracey's situation may have been case 2? (Although I haven't investigated the drawing.)
Title: Re: Attributes in block, but not showing in Block editor
Post by: Keith™ on April 14, 2008, 12:18:40 PM
I opened the block, it would appear as though it were a pasted reference with attached attributes, thus they were never defined int he block to begin with. ATTSYNC will remove the attributes from all blocks.
Title: Re: Attributes in block, but not showing in Block editor
Post by: CADaver on April 14, 2008, 07:40:59 PM
I opened the block, it would appear as though it were a pasted reference with attached attributes, thus they were never defined int he block to begin with. ATTSYNC will remove the attributes from all blocks.
Sounds like the current definition has no attributes, but a previous definition did... bummer.
Title: Re: Attributes in block, but not showing in Block editor
Post by: svorgodne on October 08, 2020, 10:21:13 AM
Very old post, but I think I found the mistake.

Yet I want to know if there is somebody with the solution.

The problem is that the block itself has a nested block with the same name, which contains the attributes. It is not possible to see them by using the block editor. I was able to see it when I used the refedit command, then I could see the the attributes in the background, so I listed it and it has the same name.

Attached an example of one file I was working on with the same mistake

Greets