Jump to content

Recommended Posts

Posted

Hi,

Does anyone know a good way to insert pre-made layers into a drawing as needed?

 

I am using AUTO CAD LT and have made up some layers, but chances are not all of them will be used on every project. I have all the layers assembled in a drawing I call "Layers" and rather than go in and manually select the layers I need I am wondering if there is an easier way to do this?

 

Any help would be greatly appreciated.

 

Dan

Posted

Have you considered using this drawing as the basis of a template?

Posted

template as ReMark says would be my first choice - you can always purge if you really have to get rid of the excess later or drag them from your base drawing using design centre.

Posted

ReMark/dbroada,

 

Thanks. I wasn't sure if there was another way of doing it. I used to work for a company that had some built in routines where you could go to a drop down menu and just load the specific layering groups you wanted. Think this is a LISP(?) routine of some sort. Since I running LT I doubt this would work.

 

In any event I think the template route will work fine.

 

Thanks again.

 

Great forum.

 

Dan

Posted

LT does not support the use of lisp. I suppose you could try using a diesel macro.

Posted
ReMark/dbroada,

 

Thanks. I wasn't sure if there was another way of doing it. I used to work for a company that had some built in routines where you could go to a drop down menu and just load the specific layering groups you wanted. Think this is a LISP(?) routine of some sort. Since I running LT I doubt this would work.

 

In any event I think the template route will work fine.

 

Thanks again.

 

Great forum.

 

Dan

 

It can be done through the combination of scripts and diesel macros as Remark mentioned.

Posted (edited)

Template gets my vote too.

I can't imagine working without mine.

Why bother selecting and loading them, if they can be all be included out of the gate,

and purged before saving, or at any other point which seems appropriate? :)

 

Of course you could create a few different templates, each of which might include a different set of layers,

if you are concerned about having lots more layers than you need in your single omni task template.

Edited by Dadgad
Posted

If you must use a script off the top of my head.

 

la n name1 C name1 c 1 lt name1 continuous

la n name2 C name2 c 2 lt name2 dashed

la n name3 C name3 c 3 lt name3 centreline

Posted

Templates are the way to go for starting a file but if you have layer groups that you may need to insert into existing dwgs, you can set up a few .dwgs (In addition to the .dwts, which cannot be inserted as a block.) with a layer group in each and insert them as blocks or cherry pick them using Design Center. You don't need any objects in them, just set up the layers.

Posted

You can set up a Button to Insert the drawing as a block. No Lisp needed.

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...