Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I exclude text from being covered by hatching?

25 REPLIES 25
SOLVED
Reply
Message 1 of 26
jrw_ssc
49032 Views, 25 Replies

How can I exclude text from being covered by hatching?

I have a box with text in it. I wish to have hatching in the box, but not have it interfere with the text.

Can I make the text an object or a boundary where it will be recognized as an island and not be hatched over?

The attached file (NP-1a.dwg) has text in a box with hatching. I don't want the hatching over the lettering. Edited by: jrw_ssc on Mar 5, 2010 6:15 PM

I'm using AutoCAD-LT either 2006 or 2009.
25 REPLIES 25
Message 2 of 26
Anonymous
in reply to: jrw_ssc

>>>...I wish to have hatching in the box, but not have it interfere with the
>>>text....<<<

So just hatch it with the text in place.

--
Dean Saadallah
http://LTisACAD.blogspot.com
--
Message 3 of 26
jrw_ssc
in reply to: jrw_ssc

Dean,

I'm not sure that I follow your answer.

I should have given the whole story first.

I wish to have the hatch lines fill the box up to the edge of the lettering but not over top of it.

What I would do after that is to remove the lettering and have a hatched outline of the text.

I then intend to export the drawing (dxf format) into our nameplate engraving machine so I can have a "negative" image printed. The machine would cut out the box and the outline of the text rather than the text itself.

How might I accomplish this, please, if indeed it is even possible to do so?
Message 4 of 26
Anonymous
in reply to: jrw_ssc

DRAWORDER the text over the hatch: but that may be lost in the DXF
translation, you'll have to try it out.

Other than what I reposted of your block, there is no ability for AutoCAD to
do what you want unless you explode the text to AutoCAD entities first.

--
Dean Saadallah
http://LTisACAD.blogspot.com
--
Message 5 of 26
jrw_ssc
in reply to: jrw_ssc

Thank you, Dean.

The DRAWORDER command does indeed put the text on top of the hatch.
It makes the image look like what I want to accomplish, but it won't make the hatch lines actually stop at the edge of the lettering.

As for using EXPLODE to turn the text into an entity, that did not work.

You're right. Unfortunately, AutoCAD does not do what I'm seeking to accomplish.

Thank you for the ideas and help.
Message 6 of 26
Anonymous
in reply to: jrw_ssc

I would have thought exploding the text would work fine, if you exploded TTF
and not SHX and with the understanding they are no longer text.

--
Dean Saadallah
http://LTisACAD.blogspot.com
--
Message 7 of 26
Anonymous
in reply to: jrw_ssc

depending on the version of cad that you have, textmask may be an
option. the LT version of that is only available with mtext, not dtext.
Mask text with background and moving the text moves the mask with it.
You need to make sure that you use draworder to bring the text in front
of the hatching and it will have a whited out box to allow reading the
text. Make sure you hatch with the text hidden and that way the text
whiteout won't interfere with full coverage hatching.

On 3/5/2010 3:23 PM, jrw_ssc wrote:
> Thank you, Dean.
>
> The DRAWORDER command does indeed put the text on top of the hatch.
> It makes the image look like what I want to accomplish, but it won't make the hatch lines actually stop at the edge of the lettering.
>
> As for using EXPLODE to turn the text into an entity, that did not work.
>
> You're right. Unfortunately, AutoCAD does not do what I'm seeking to accomplish.
>
> Thank you for the ideas and help.
Message 8 of 26
Anonymous
in reply to: jrw_ssc

Just in case...

To explode text entities:
Use WMFOUT on the selected TTF font text, erase it and do a WMFIN using the
upper left point as insertion, scale factor of 2.0. Then explode that.

--
Dean Saadallah
http://LTisACAD.blogspot.com
--
Message 9 of 26
jrw_ssc
in reply to: jrw_ssc

Dean,

Perhaps I'm missing something. I tried the WMFOUT & WMFIN and exploded it.

I have this idea in my head that I need to be able to break the hatch lines at the edges of the lettering and erase the line segments that overlap the text. Whether the text is foreground or background, it doesn't matter, does it? That would give me the result I've been seeking.

If I drew the lettering as lines, arcs and circles, I could get the hatching to stop at the edges of the lettering and have "HATCH" treat the lettering as "islands". I'm not up to the rigors of that task!

Please don't feel obligated to spend any more time on this thing.

I really appreciate the time and suggestions you and jg have made on this!

Regards,

James
Message 10 of 26
jdouglas
in reply to: Anonymous

I'm having the same problem.  I used several different hatch patterns in my drawing.  The text was already there.  Some hatching leaves a space around the text and others don't. I'm no CAD brain so I can't have done anything very complicated to get that effect. I've looked at properties, tried deleting hatching and then hatching again.  Nothing changes.  How can I get a space around my text?  I'm using AutoCAD LT 2010.

Message 11 of 26
pendean
in reply to: jdouglas

There could be a chance your text is hovering above the 2D plane of your hatch: Z had a setting in LT just like X and Y.

Post a sample DWG of the issue if you can, or use Properties command after selecting the text and set Z to 0 (regardless of what Properties reports is the setting).

Message 12 of 26
jdouglas
in reply to: pendean

Dean,

 

I checked properties of text and Z is set at 0.  I admit to being a total failure at understanding how the various hatch choices work.  I managed to get the hatch on the right side to work after deleting the hatch and then hatching again. Not having any luck with the left side.  Appreciate any help!

 

Jill

Message 13 of 26
pendean
in reply to: jdouglas

Jill,  It appears your base building elements are not all on a flat Z=0 plane, so when you draw an outline snapped to corners I am also unable to create a hatch that does not cover the text.

 

If I draw just a box around the text it hatches just fine. I will try and see if full AutoCAD is able to flatten the file and repost.

Message 14 of 26
jdouglas
in reply to: pendean

Well, thank you very much for your time and effort!

Tags (1)
Message 15 of 26
pendean
in reply to: jdouglas

I missed where you also had island detection in BHATCH command se to ignore catching anything, that seems to have fixed it (reset it back to NORMAL).

 

All I did with this file is use PROPERTIES to select all items and reset Z to 0 for each type  (typed it in, not just read it said 0 and left it).

Message 16 of 26
jdouglas
in reply to: pendean

Wow, I'm so close!  Ok, I noodled around with Properties and selecting ALL and that didn't seem right.  Then, I typed in Properties and selected each kind of hatch in my drawing.  I DID see where Island Detection was set to Normal, but there was only X and Y (set to 0), no Z at all.

 

So, when you state, "All I did with this file is use PROPERTIES to select all items and reset Z to 0 for each type  (typed it in, not just read it said 0 and left it).", can you walk me through that so I'll know how to find it next time?

Message 17 of 26
pendean
in reply to: jdouglas

Unlock all of your layers and thaw/on them all.

Select everything on screen.

Open PROPERTIES

At the top, sort by type, select each type of entity.

Most (not all) have a Z entry you can change, regardless of what it reports, select and type 0 (zero).

 

When done, SAVE your file.

Message 18 of 26
jdouglas
in reply to: pendean

I cannot thank you enough!!!

Tags (1)
Message 19 of 26
robyantonyp
in reply to: jrw_ssc

I found that command anybody need contact me in this e-mail 

 

 

Edited by
Discussion_Admin

Message 20 of 26
hwalker
in reply to: robyantonyp

Welcome to the forums.

 

One rule of forums is NEVER post your email address publicly as anyone could use it to send you spam emails

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost