The Electrical Contractor Network

ECN Electrical Forum
Discussion Forums for Electricians, Inspectors and Related Professionals

Books, Tools and Test Equipment for Electrical and Construction Trades

Register Now!

Register Now!

We want your input!


2017 NEC and Related
2017 NEC
Now Available!

Recent Posts
Would ELV branch circuits be a good idea?
by gfretwell
Yesterday at 11:48 AM
100% breakers?
by gfretwell
01/14/17 08:10 PM
Forum Software Upgrade coming soon...
by Trumpy
01/14/17 07:11 PM
Faricating Guards out if Lexan?
by Trumpy
01/14/17 07:09 PM
Dangerous DIY Advice
by Potseal
01/12/17 09:52 AM
New in the Gallery:
Desk-mounted "power-board"
Shout Box

Top Posters (30 Days)
HotLine1 15
gfretwell 11
ghost307 10
sparkyinak 10
Trumpy 8
Who's Online
1 registered (geoff in UK), 255 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Topic Options
Rate This Topic
#132243 - 07/21/05 06:31 PM problem with the layer management
inzavy Offline
Junior Member

Registered: 07/21/05
Posts: 1
Loc: vietnam

This's the first time I attend this chatroom. Nice to meet all of you.

yah, I want to ask this problem : After finished a drawing, there're many layers which make file bigger. How can I manage those layers? I want to have, maybe, just 3 layers : 1 for architect, 1 for electric pipe and 1 for equipment... This can make my file small and easy to manage. Note that my drawing can contain block, x-ref, and so on.

So, waiting for your help. Any suggestion is appreciated.

Thank you.

Test Equipment:

Large Selection of Test Equipment For Electrical, HVAC, Test & Measurement
Large Selection of Test Equipment For Electrical, HVAC, Test & Measurement

#132244 - 07/24/05 12:50 AM Re: problem with the layer management
Scott35 Offline

Broom Pusher and

Registered: 10/19/00
Posts: 2724
Loc: Anaheim, CA. USA
Hello Inzavy, and welcome to ECN!

Not sure what CAD Application you have, so if you have anything other than AutoCAD (or similar applications from the "Autodesk" Company), the following may not work.

Try to perform the following procedures:

    [*] Create the 3 new layers (Arch, Elect. Pipe, Equipt.), using the "Layer Management" Tool or Command,

    [*] Unlock and/or unfreeze + turn on all existing Layers, also make sure all Blocks and Xrefs are viewable (see note about Blocks and Xrefs, which follows this list),

    [*] Select Drawing entities (drawn items) which you plan to have on a certain Layer (only select the ones which will go on the same Layer together),

    [*] Invoke the "Properties" command by selecting the "Properties" Icon, which is found on the Object Properties Toolbar,

    [*] Click the "Layers" button, then scroll up or down to find the Layer you wish to move the selected items to. Click on that Layer's name, then "OK" the commands as needed to complete the task,

    [*] Repeat steps 2 through 5, until all items are moved to the new Layers as needed.

If all entities are moved from the "Unwanted Layers", they may now be "Purged" - via the "Purge/Layers" command.
Before running this command, make sure you have made one of the 3 new layers the "Current" or "Active" Layer - otherwise the Layer which is current at the time of the Purge task will not be removed.

These following Layers may not be removed via "Purge":
  • Layer "0"
  • Current Layer,
  • Layers with Nested Blocks,
  • Xref'ed Layers,
  • Layers containing certain UCS's, Views & Viewports,
  • Layers containing .SHX file entities - like "Shape Fonts".


1: Blocks:

If a Block has Nested Blocks, or is not a "WBLOCK", moving it to a different Layer may result in part, or all of the Block being lossed.
You may need to Write the Blocks first, which will make them complete entities when they are inserted into the Drawing.
The downside of this is increased File Size.
You may also try to Bind them to the Drawing, or save them as separate files within the same directory.

2: XREFs:

All Layers on the Externally Referenced entity (the "Xref") will be carried over into the Drawing which the Xref is attached to.
These Layers cannot be Purged while they are attached, so they need to be Purged in the same methods described in steps 1 through 6 above before attaching to the finished Drawing File.

Also, the path & Layer attachment information may need to be edited when the entity is moved to the new Layer, or when the Xref's Layers get Purged - or both - depending on what you have made the default settings for AutoCAD.

The same applies for any OLE items, and Databases.

There are a few Utilities available, which perform these compiling and logistics tasks very well.

Lastly, if needed, you can always compress the Drawing Files with an Archiving type Utility - such as "PKZIP" ("Zip" the drawing files). This technique can reduce file size between 20% and 75% - depending on the complexity of entities, if there are any Raster graphics (entities which are not Vectors), and the Algorithm used by the Utility.

Good luck.

Scott " 35 " Thompson
Just Say NO To Green Eggs And Ham!


ECN Electrical Forums - sponsored by Electrical Contractor Network - Electrical and Code Related Discussion for Electrical Contractors, Electricians, Inspectors, Instructors, Engineers and other related Professionals