PDA

View Full Version : WANT TO CHANGE TEXT STYLE WITHIN A BLOCK- GLOBALLY



jeff.garr
2006-04-19, 11:29 AM
I am trying to change the text style within a block globally. Is there anyway to do this? I have tried "BLOCK EDITOR" with no luck. I am using ACAD 2006, it is just a basic block with two lines of text. The text is currently STANDARD and I want it to be ROMANS. I do not have the time to go through each one as there are at least a hundred or so of them. Any thoughts? Thanks.

rkmcswain
2006-04-19, 11:55 AM
There are 100 separate block definitions, or 100 insertions of the same block definition?

Why doesn't BEDIT work? What happens?

jeff.garr
2006-04-19, 12:09 PM
Same block- just changed the text.....

Nothing at all seems to happen. The text remains as STANDARD.

Opie
2006-04-19, 01:02 PM
Have you thought about WBLOCK the BLOCK into its own file, make your changes, and then reinsert that file back into your drawing, thus allowing you to redefine it?

jeff.garr
2006-04-19, 01:16 PM
Would this need to be done to replace all BLOCKS? If so, the drawing would not be worth the effort at this point.

Opie
2006-04-19, 01:40 PM
Would this need to be done to replace all BLOCKS? If so, the drawing would not be worth the effort at this point.
This would redefine all instances of that block. Once you reinsert it, you could delete that new instance, but all the other instances would remain as the new definition.

rkmcswain
2006-04-19, 01:56 PM
Same block- just changed the text.....

Nothing at all seems to happen. The text remains as STANDARD.

There is no need to WBLOCK out to a separate drawing.

Tell me your steps.

Here are my steps, which work just fine.

BEDIT, select block.
Block definition opens in Block Editor.
You change the STYLE of a TEXT entity from Standard to ROMANS
You save the block definition (Command BSAVE)
Then exit BEDIT (command BCLOSE)
That will take you back to the drawing, and each block definition is updated.


Your ROMANS style does use a different font than Standard, correct?

Opie
2006-04-19, 03:08 PM
There is no need to WBLOCK out to a separate drawing.

I only offered that as an option.

Thanks for posting the other steps. ;)

jeff.garr
2006-04-19, 03:33 PM
I am a bozo- I did not hit SYNC within BATTMAN when I updated the changes for the block and this fixed the issue. I did first do the BEDIT with the steps you had shown and tried it a few times and kept REDRAWing and REGEN to see if my PC was just moving slow or not showing me the updates, but it wasn't the case. Thanks for your help.

rkmcswain
2006-04-19, 04:20 PM
I am a bozo- I did not hit SYNC within BATTMAN when I updated the changes for the block and this fixed the issue.

So these are ATTDEF entities and not TEXT entities?

jeff.garr
2006-04-19, 04:31 PM
This is why I am just a little paup (pup) and not a big daug! Correct- I think? I wouldn't be able to tell you the difference though. I created a BLOCK with ATTRIBUTES (what I was calling TEXT. My bad....

rkmcswain
2006-04-19, 04:33 PM
This is why I am just a little paup (pup) and not a big daug! Correct- I think? I wouldn't be able to tell you the difference though. I created a BLOCK with ATTRIBUTES (what I was calling TEXT. My bad....

No problem. That explains why you needed the extra step.

Attributes in blocks start out life as an ATTDEF entity, then when the block is inserted they are ATTRIB entities. These two along with TEXT require different editing methods (as you have seen...)


:beer: Have a good one.

Darren Allen
2014-11-17, 07:52 PM
I realize this post is old, however, I have a similar issue. I have Survey points that when I selected one opens the Enhanced Attribute Editor. There are (can be more) hundreds of these "blocks" that are all labeled "X". I have tried all of the suggestions listed in this post without success. I wish to change the text color of all "X" blocks globally to one color (by block). I had to WBlock the entity in order to have a file to upload. Please see attached and advise. Thanks

rkmcswain
2014-11-17, 10:00 PM
I wish to change the text color of all "X" blocks globally to one color (by block).

I used BEDIT to edit the block "X", changed the color of the two lines from Bylayer to Byblock, saved the block definition, and it worked.

Darren Allen
2014-11-18, 01:06 PM
I used BEDIT to edit the block "X", changed the color of the two lines from Bylayer to Byblock, saved the block definition, and it worked.

Thanks, that works for the file I uploaded but it doesn't for the block I have in my drawing. When I BEDIT this block in the drawing all I get is the "X". The lines are not visible. Check this file and let me know.

rkmcswain
2014-11-18, 10:24 PM
I must be missing something. In the drawing you last posted, the lines that form the "X" are already byblock, and they are acting normally back in the drawing.

Darren Allen
2014-11-19, 12:56 PM
I must be missing something. In the drawing you last posted, the lines that form the "X" are already byblock, and they are acting normally back in the drawing.

I must be doing something wrong then. The "X" block has three lines of text that I am trying to change globally not the X. Does this help clear up any confusion. Again if I am doing something wrong please let me know.

rkmcswain
2014-11-19, 02:31 PM
Apologies. I went back and read the original post and now see that you want to change the text style of the attributes.
Normally you could use BATTMAN to do this, but apparently the "X" block was stripped of its attributes at some point after all of those blocks were inserted.....so BATTMAN just complains -> "This drawing contains no attributed blocks."
In this particular drawing, because of this problem, and since they all use the STANDARD textstyle, can you just change the font associated to that style?

Opie
2014-11-19, 06:16 PM
The attributes in this drawing were programmatically attached to each block using Eagle Point software. If I remember correctly, you would need to change this style through the Eagle Point software settings.

rkmcswain
2014-11-19, 07:10 PM
The attributes in this drawing were programmatically attached to each block using Eagle Point software. If I remember correctly, you would need to change this style through the Eagle Point software settings.

I don't understand that. Either attributes are attached to a block definition or they are not, right? How does the method by which they were attached have an impact on it?
My guess as to what happened here is that someone used BEDIT on block "X", then deleted the attributes and saved the block.
This would not change block insertions that were already in the drawing, only future insertions of block "X".

I could be wrong on all of that, since I'm going from memory - but I don't think EP was doing any black magic with their point blocks. They were essentially the same as what Carlson does - a block with attributes.

Having said that, I'm not saying that EP does not have a command itself to make these changes - that could very well be true.

Opie
2014-11-19, 09:16 PM
No, EP was doing the black magic when inserting points and attaching attribute references to those block references. How they were doing, I do not know. I never really spent much time trying to figure it out.

rkmcswain
2014-11-20, 12:26 PM
Ok, it's been 15 years since we used EP here, so I'll trust you. :-)