PDA

View Full Version : Layer Atribs



nellydotcom_co_uk
2009-03-24, 09:01 AM
Hello,

I have 22 layers which contain the same text i need for the drawing titles, can i use some atribute text to put a line of text in the paperspace using the layer name as the text?

thank you

stelthorst
2009-03-24, 09:18 AM
Hi Neil,

I'm not at work right now so I can't give you a step by step procedure but you could
1. Create a line or polyline PSD with the layer as one of the properties
2. Draw lines on each of the layers
3. Create a tag for each line that uses the layer property as the text.

Hope that gets you started, if not I'll post a step by step procedure when I go to work tomorrow.

nellydotcom_co_uk
2009-03-24, 10:18 AM
thank you!

nellydotcom_co_uk
2009-03-27, 10:10 AM
I thought id leave a message to say I kinda got there in the end. I drew a polyline in a block and used a a tag to display the layer name. BUT

I had to make a new block for each layer and then go into the block editor to change the layer of the polyline.

This seems a little long winded, is there a way to do this so you dont have to use block edit to change the layer of the line within the block?

stelthorst
2009-03-30, 02:02 AM
I thought id leave a message to say I kinda got there in the end. I drew a polyline in a block and used a a tag to display the layer name. BUT

I had to make a new block for each layer and then go into the block editor to change the layer of the polyline.

This seems a little long winded, is there a way to do this so you dont have to use block edit to change the layer of the line within the block?

Hi Neil,

Glad you got it to work.

Here is what I had in mind:
In AMEP 2009
1. Start a new drawing
2. Go to FORMAT - Style Manager - Documentation Objects - Property Set Definitions
3. Click New Style and name the Style (I named mine "PLine-Objects")
4. Click the "Applies To" Tab and check Polyline (or Line but I don't use lines most of the time)
5 Click on the "Definition" tab and click "Add Automatic Property Definition" and check Layer
6 Click OK
7. Add a piece of text at 1 unit high (Make sure it is the style you want) The content does matter I used "Layer_Text"
8. Highlight the text and click FORMAT - Define Schedule Tag.
9.. In the Define Schedule Tag Dialog give the Tag a name, (I used PLine_Layer_Text), Change the type to "Property", Change the Property Set to the name created in step 3, and change the Property Definition to "Layer". Click OK Click the insert point for the label (I used the text insertion point)
10. Save the drawing to a network location (if you want others to be able to use it) or the location on your computer you store AMEP content.
11. Drag the newly created tag onto you palette.

You are now ready to try it out. Open a new drawing and draw a polyline and put it on a layer. Click the icon you added to your palette in step 11 and then select the polyline. The layer name should be displayed. Change the layer of the polyline and confirm the tag also changes.

I know this looks like a lot of work but it really isn't too bad. And the great thing is now you have the tag available anytime you need it right on your tool palette.

Hope this help,