PDA

View Full Version : Make a button or command that draws Lines or Polylines with Layer information pre-set



ch00su
2006-05-19, 05:36 AM
Can you make a button or command that draws lines or ploylines with layers and line types preset to them?

Young. :?:

H-Angus
2006-05-19, 07:53 AM
Can you make a button or command that draws lines or ploylines with layers and line types preset to them?

Young. :?:

What version of Acad are you using? If you are using release 2004 or later then you use the tool palettes to do this.
Simply draw a line and assign its layer and linetype, then drag it onto a tool palette and hey presto - every time you use that tool it will now draw a line with the properties you specified.

Pre Acad 2004 I'm pretty sure the only way to do it would be to use something like a lisp (although I'm often wrong). :cheers:

ch00su
2006-05-19, 08:25 AM
That's right!
I forgot about that method.

Thanks a lot for your quick reply.
I just love this site.

Young.