Jump to content

Recommended Posts

Posted

Hello, new to forum... new acad student as well :)

 

Question; is it possible to create a text style linking it to a (or multiple) layer?

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

  • valis

    7

  • rkent

    5

  • BlackBox

    5

  • Dana W

    4

Top Posters In This Topic

Posted Images

Posted

The only way is to have that layer "Current" while you draw the dimensions in, in that style. They will be on that layer then. However, nothing but conciencious use of layer currency will stop you from placing any 'style' dimensions on any layer.

 

Normally, I use one text and dimension style for 'dimensions' and another text style for the 'notes' that go in paper space. I put all my dimensions on a layer named, you guessed it, dimensions. I put all my paperspace text on one or more layers for them. There are no hard links or limits to it.

Posted
Hello, new to forum... new acad student as well :)

 

Question; is it possible to create a text style linking it to a (or multiple) layer?

 

There are multiple ways to do this, a simple way is to create a piece of text in a drawing in the style you wish to use and on the layer your want. Now click and drag (don't use grips) that text over to the tool palette, hold and then drop. Now when you want text you pick on that tool on your tool palette. Right click on it to see other options you could set.

Posted
There are multiple ways to do this, a simple way is to create a piece of text in a drawing in the style you wish to use and on the layer your want. Now click and drag (don't use grips) that text over to the tool palette, hold and then drop. Now when you want text you pick on that tool on your tool palette. Right click on it to see other options you could set.

 

Does the resulting "tool" always go to the same layer, no matter which is current at time of insertion?

Posted

Yes that is correct, once the layer is set as part of the tool properties then that is always used.

Posted
Yes that is correct, once the layer is set as part of the tool properties then that is always used.

 

Egg sealant! Good to know. Thinking in terms of LT, I never seem to go other ways at first. I don't have the same sort of extras as full Autocad so my brain is not conditioned that way. I am used to functioning with the bare bones. I am going to see if I can work it into my LT environment. I don't normally use the tool pallets so I am not sure it will work for me.

 

Glad you could straighten things out.

Posted

Howzabout that!!:) I took a look at it and this method does work in LT. Like I said, I don't use the tools palette very much, so I was not sure.

Posted

Thanks for the tip... I don't know, but I'm using ACad2011 and done as suggested I think.

 

Perhaps I should explain clearer... lets view some of my layers. I want to set and create a "text style" for layer "A-Anno-Note" and "A-Anno-Dims". Ok, well I have a text style setup, but that applies to all layers and in order to change the text style I need to select the object and select a new text style, then the layer (if any) etc... etc... I guess, I'm looking to eliminate a lot of work. Create a Layer, set it's properties, and also create a style for text (font, width/height, etc...) for that layer alone and lock it to that layer. If text were added to any other layer I would assume the text entered will default to that I set current within the text manager.

 

   Layer name        State          Color         Linetype     Lineweight
------------------ ----------- ------------------ ------------ ------------
"0"                on       -P   7 (white)        "Continuous"   Default
"A-Anno-Dims"      on       -P 211                "Continuous"  0.250 mm.
"A-Anno-Note"      on       -P 231                "Continuous"  0.250 mm.     ******** (I'd like to set this with Font: Style BT, Text Height: .25, Justify:?, Rotation:?, etc.... etc.... anything that would apply, just to this layer itself)
"A-Anno-Symb"      on       -P 131                "Continuous"  0.250 mm.
"A-Clng"           on       -P 151                "HIDDEN"   0.250 mm.

"A-Detl-Fine"      on       -P  70                "Continuous"  0.180 mm.
"A-Detl-Fine-Hide" on       -P  70                "HIDDEN"   0.180 mm.
"A-Detl-Medm"      on       -P  32                "Continuous"  0.350 mm.
"A-Detl-Patt-Fine" on       -P  30                "Continuous"  0.180 mm.
"A-Door"           on       -P  31                "Continuous"  0.250 mm.

"A-Eqpm"           on       -P  91                "Continuous"  0.250 mm.
"A-Flor-Appl"      on       -P  11                "Continuous"  0.250 mm.
"A-Flor-Case"      on       -P  31                "Continuous"  0.250 mm.
"A-Flor-Hral"      on       -P  11                "Continuous"  0.250 mm.
"A-Flor-Patt"      on       -P  30                "Continuous"  0.180 mm.

"A-Flor-Strs"      on       -P  31                "Continuous"  0.250 mm.
"A-Glaz"           on       -P 151                "Continuous"  0.250 mm.
"A-Glaz-Sill"      on       -P  11                "Continuous"  0.250 mm.

I don't know if you answered my question, because it hadn't worked for me.

Posted

You want to create a drawing template (.DWT), so that every new drawing already has your specified layers, style, etc., no?

Posted
You want to create a drawing template (.DWT), so that every new drawing already has your specified layers, style, etc., no?

 

I already have a template created... I would like to know if and how to create specific text styles to each and every (IF needed, for now just one) layer. I know how to create text styles in the text manager, but that is for the entire drawing template, and if you want to change text you need to select the object, highlight the text you created... apply it to that layer... select your text style and change text properties if needed. I'm looking to bypass ALL of that, create a text style for that layer once and only once. Am I making any sense? :)

Posted
I already have a template created... I would like to know if and how to create specific text styles to each and every (IF needed, for now just one) layer. I know how to create text styles in the text manager, but that is for the entire drawing template, and if you want to change text you need to select the object, highlight the text you created... apply it to that layer... select your text style and change text properties if needed. I'm looking to bypass ALL of that, create a text style for that layer once and only once. Am I making any sense? :)

 

 

Sure, that makes sense (if I understand you correctly?)... you want a reactor.

 

One which will automatically detect the layer of newly created text, and if the text style does not match a predefined style name, conditionally changes that style name according to the layer on which the text resides.

 

We use this for certain commands like ._xattach, and ._mview, where our reactor automatically checks for a predefined layer, creates it if needed, then sets it current prior to the command running, then changes it back when the command is done... it all happens near instantaneously.

 

Edit: Look into vlr-command-reactor, using the :vlr-commandEnded callback event, within the developer documentation.

Posted

Something to that extent, but not that in depth.

 

Lets say I type the text on the default layer... which automatically applies the default style in the text style manager. But, now I want this text to display on a different layer, select the layer "anno-note", the text displays the default style, so now I need to change the text height. What I would like to do, is create and lock a text style to only this layer... similar to setting color, linetype, lineweight, transparency, plot style, description properties... etc

Posted

RenderMan gave you the best answer, only with programming with reactors will you get to where you are wanting. I mis-read your first post. No way to set style as part of the layer properties. Most do something like I suggested so when placing text you pick the tool and the layer is set along with the style. You could set up multiples of those for different layers and test styles, heights, etc. Of course if some sample text already exists you can use matchprop to pick and then paint (pick to match)the ones you want changed.

Posted
RenderMan gave you the best answer, only with programming with reactors will you get to where you are wanting. I mis-read your first post. No way to set style as part of the layer properties. Most do something like I suggested so when placing text you pick the tool and the layer is set along with the style. You could set up multiples of those for different layers and test styles, heights, etc. Of course if some sample text already exists you can use matchprop to pick and then paint (pick to match)the ones you want changed.

 

Bummer. RenderMan's suggestion sounds too complex (advanced) for what I see to be a simple matter.

 

Your method... It doesn't seem to work or I'm doing something incorrectly.

Posted

Edit: Thanks for the compliment, RKent!

 

Bummer. RenderMan's suggestion sounds too complex (advanced) for what I see to be a simple matter.

 

Your method... It doesn't seem to work or I'm doing something incorrectly.

 

 

Not at all... I already have a template in use, and I'll help you set it up. :wink:

 

Please provide me a sample drawing with all of the applicable layers, and text styles. I *could* have it ready for you by COB tomorrow (depends on how busy I am!?).

Posted

CAD_TUTORSAMPtemplate.dwg

 

Ok. It's just a template (dwg) we've created recently in class. I'm trying to learn as much as I can about it.... besides that math is my priority than my other college classes and it's been 14 years since I've done math :ouch: :oops:

Posted
....

Your method... It doesn't seem to work or I'm doing something incorrectly.

 

Well I can't guess what you mean when you say it isn't working. Are you able to drag and drop the text onto a tool palette?

You can drop it into the tool palette but then it doesn't execute when you select it?

and so on, tell me what you tried and when it doesn't work.

Posted
Well I can't guess what you mean when you say it isn't working. Are you able to drag and drop the text onto a tool palette?

You can drop it into the tool palette but then it doesn't execute when you select it?

and so on, tell me what you tried and when it doesn't work.

 

 

excuse my ignorance... still learning. I guess I assumed the toolbar, it let me drag it there, but nothing happened. I'm not sure what you're referring to as the "tool pallet"

 

Snap3.jpg

Posted

OK, hit the Ctrl+3 at the same time. To see all the palettes available, one method is to first set MENUBAR to 1, now go to Tools, Palettes and notice all the palettes awaiting you, oh joy, more to learn. :)

Posted
RenderMan's suggestion sounds too complex (advanced) for what I see to be a simple matter.

 

Ok. It's just a template (dwg) we've created recently in class.

 

 

This makes much more sense, now. No worries.

 

However, I guess I should have specified, I am using 2009 software, so you're going to have to save your template back to 2007 file format.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...