AutoCAD MEP General Discussion

AutoCAD MEP General Discussion

Active Contributor
Posts: 33
Registered: ‎11-16-2010
Message 1 of 3 (802 Views)

Layer Key Style

802 Views, 2 Replies
11-27-2011 04:00 PM

I am having some difficulty with creating new layer key styles.


I created a drawing that contained piping just as I wanted it.


The process:


I copied and renamed a Piping System Definition, then made the changes I wanted.


I copied and renamed a routing definition then ade the changes I wanted.


When I tried to to create a new Layer Key Definition to assign the the system definition, I was successful, but I was not successful in creating a new LAYER for the the layer key that I could get into my template.


How does one create a new layer key definition, along with a new layer, then copy it to a template or another drawing?.







Valued Contributor
Posts: 92
Registered: ‎09-23-2008
Message 2 of 3 (778 Views)

Re: Layer Key Style

12-02-2011 06:29 AM in reply to: wethead

I know you stated that you already created the new layer key definition and pipe system but I'm going to show the approach from the very beginning.


In the image below I created a new pipe style named "Sample System" with the goal of carrying the 'Sample' theme through the whole process.


So I added a new layer key definition to my drawing default layer style (see this post to Verify Drawing Layer Key). There are a few parameters that must be met to make layer keys available for certain object or style types. In the case of piping the name must follow the pattern of "X-SY-PIPE" - if you look at the default layer keys you will notice F-SY-PIPE, M-SY-PIPE, and P-SY-PIPE are currently being used but some other letters can be used.


After creating the layer key I set the layer name of the key to be "My-Sample-Layer", applied all of the changes and closed out of the style manager.


Pipe System-Layer Key.jpg


Afterwards I created a new pipe run selecting my "Sample System" pipe system and as you can see from above it created and set the piping on the layer I wanted.


When I was setting up our template file I took a different approach and eliminated a large percentage of the default layer key definitions and renamed the systems to include a more simplistic approach.


I looked at two major factors of the system key - the color and linetype assigned to the key. For example our original 2D Chilled Water Supply and Return were the same color but the linetype was different (continuos and dashed). Because of the linetype differences I forced to keep to separate layer key definitions for the two but I cut out over 30 "M-SY-PIPE-CHILLED_WATER" layer key definitions ... since I have the option of overriding the layer fields in the pipe systems themselves this was the easiest method to manage the layer key.


There are over 425 piping layer key definition in the default "ABS Object - AIA 256 Color" layer key and if you can isolate the number of linetype and color combinations needed you can probably eliminate 300 of them, if not more (we kept 58). The same madness applies to electrical systems (E-SY-DEVC), devices (E-DV), wires (E-SY-WIRE). We cut our layer key down from over 1400 layer key definitions down to under 475. The same methodolgy should probably be taken with the piping systems, duct systems, and electrical systems.


I wouldn't suggest deleting the MvPart designators (X-MV) from the layer key though. If you stick with the systems (X-SY) and device (X-DV) you should be fine.

Active Contributor
Posts: 33
Registered: ‎11-16-2010
Message 3 of 3 (768 Views)

Re: Layer Key Style

12-03-2011 09:07 AM in reply to: wethead

Thank you so much for this.


I think I did something very simlar except I COPIED and PASTED an existing layer key, then renamed the copy.


I then redefined the new layer key to use a different layer, but kept getting the layer associated with the copied and renamed layer key.


That may be what happened.  I'll look at it again.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD MEP Category!

The AutoCAD MEP forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.