Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*C., Tom
Linetype Lisp???
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
92 Views, 8 Replies
08-13-2002 03:31 AM
Is there a lisp routine that will maintain the linetypes after you've
changed the objects to layer 0?
Let me explain: We receive a lot of architectural files and I need to
temporarily import the objects into my drawings. I don't like to bring in
all of their layers and generally change the objects from the original layer
to layer 0. However, when I do this the linetypes are "By Layer" and all
change to Continuous. I'd like to maintain the linetype from it's original
layer state after I place them into layer 0.
Thanks for any help.
- Tom C.
changed the objects to layer 0?
Let me explain: We receive a lot of architectural files and I need to
temporarily import the objects into my drawings. I don't like to bring in
all of their layers and generally change the objects from the original layer
to layer 0. However, when I do this the linetypes are "By Layer" and all
change to Continuous. I'd like to maintain the linetype from it's original
layer state after I place them into layer 0.
Thanks for any help.
- Tom C.
*Turvill, Paul
Re: Linetype Lisp???
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-13-2002 03:59 AM in reply to:
*C., Tom
Try GO-0.LSP from
http://www.turvill.com/t2/free_stuff
It moves everything in a drawing to Layer 0 while retaining all assigned
colors and linetypes, whether originally set explicitly or bylayer.
___
"Tom C." wrote in message
news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI adrTaRb...
> Is there a lisp routine that will maintain the linetypes after you've
> changed the objects to layer 0?
http://www.turvill.com/t2/free_stuff
It moves everything in a drawing to Layer 0 while retaining all assigned
colors and linetypes, whether originally set explicitly or bylayer.
___
"Tom C."
news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI
> Is there a lisp routine that will maintain the linetypes after you've
> changed the objects to layer 0?
*C., Tom
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-13-2002 04:25 AM in reply to:
*C., Tom
Thanks for the link Paul.
Unforntunately, I'm using Acad 2000 and the routine gets an error somewhere
in the first part of setting up the layers. Do you have a version for 2000?
I'm not too good with lisp and don't know how to tweak the code.
Thanks,
- Tom C.
"Paul Turvill" wrote in message
news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI adrTaRb...
> Try GO-0.LSP from
> http://www.turvill.com/t2/free_stuff
>
> It moves everything in a drawing to Layer 0 while retaining all assigned
> colors and linetypes, whether originally set explicitly or bylayer.
> ___
>
> "Tom C." wrote in message
> news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI adrTaRb...
> > Is there a lisp routine that will maintain the linetypes after you've
> > changed the objects to layer 0?
>
>
Unforntunately, I'm using Acad 2000 and the routine gets an error somewhere
in the first part of setting up the layers. Do you have a version for 2000?
I'm not too good with lisp and don't know how to tweak the code.
Thanks,
- Tom C.
"Paul Turvill"
news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI
> Try GO-0.LSP from
> http://www.turvill.com/t2/free_stuff
>
> It moves everything in a drawing to Layer 0 while retaining all assigned
> colors and linetypes, whether originally set explicitly or bylayer.
> ___
>
> "Tom C."
> news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI
> > Is there a lisp routine that will maintain the linetypes after you've
> > changed the objects to layer 0?
>
>
*Roberts, Casey
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-13-2002 08:51 AM in reply to:
*C., Tom
Actually, the lisp routine had a variable in the wrong spot.... I can send
the 'fixed' one to you if you like... but it does not retain linetypes...
only colors.
If you wanna do it yourself find the line that reads: (third line of the
actual program):
"._layer" "_S" "0" "_T" "0" "_c" _conorm "0" "_f" "~0" ""
and change it to this:
"._layer" "_S" "0" "_T" "0" "_c" "8" _conorm "_f" "~0" ""
"Tom C." wrote in message
news:8B82DC728D594947D5C56E8249F834A3@in.WebX.maYI adrTaRb...
> Thanks for the link Paul.
> Unforntunately, I'm using Acad 2000 and the routine gets an error
somewhere
> in the first part of setting up the layers. Do you have a version for
2000?
> I'm not too good with lisp and don't know how to tweak the code.
>
> Thanks,
>
> - Tom C.
>
>
>
>
> "Paul Turvill" wrote in message
> news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI adrTaRb...
> > Try GO-0.LSP from
> > http://www.turvill.com/t2/free_stuff
> >
> > It moves everything in a drawing to Layer 0 while retaining all assigned
> > colors and linetypes, whether originally set explicitly or bylayer.
> > ___
> >
> > "Tom C." wrote in message
> > news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI adrTaRb...
> > > Is there a lisp routine that will maintain the linetypes after you've
> > > changed the objects to layer 0?
> >
> >
>
>
the 'fixed' one to you if you like... but it does not retain linetypes...
only colors.
If you wanna do it yourself find the line that reads: (third line of the
actual program):
"._layer" "_S" "0" "_T" "0" "_c" _conorm "0" "_f" "~0" ""
and change it to this:
"._layer" "_S" "0" "_T" "0" "_c" "8" _conorm "_f" "~0" ""
"Tom C."
news:8B82DC728D594947D5C56E8249F834A3@in.WebX.maYI
> Thanks for the link Paul.
> Unforntunately, I'm using Acad 2000 and the routine gets an error
somewhere
> in the first part of setting up the layers. Do you have a version for
2000?
> I'm not too good with lisp and don't know how to tweak the code.
>
> Thanks,
>
> - Tom C.
>
>
>
>
> "Paul Turvill"
> news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI
> > Try GO-0.LSP from
> > http://www.turvill.com/t2/free_stuff
> >
> > It moves everything in a drawing to Layer 0 while retaining all assigned
> > colors and linetypes, whether originally set explicitly or bylayer.
> > ___
> >
> > "Tom C."
> > news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI
> > > Is there a lisp routine that will maintain the linetypes after you've
> > > changed the objects to layer 0?
> >
> >
>
>
*C., Tom
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2002 01:56 AM in reply to:
*C., Tom
Thanks Casey.
I replaced the line you gave and it worked as you said - only colors. Is
there a way to add the linetype variable in there?
Regards,
- Tom C.
"Casey Roberts" wrote in message
news:534AA00E4045EB2B1C2659F5A4C3249A@in.WebX.maYI adrTaRb...
> Actually, the lisp routine had a variable in the wrong spot.... I can send
> the 'fixed' one to you if you like... but it does not retain linetypes...
> only colors.
>
> If you wanna do it yourself find the line that reads: (third line of the
> actual program):
>
> "._layer" "_S" "0" "_T" "0" "_c" _conorm "0" "_f" "~0" ""
>
> and change it to this:
> "._layer" "_S" "0" "_T" "0" "_c" "8" _conorm "_f" "~0" ""
>
> "Tom C." wrote in message
> news:8B82DC728D594947D5C56E8249F834A3@in.WebX.maYI adrTaRb...
> > Thanks for the link Paul.
> > Unforntunately, I'm using Acad 2000 and the routine gets an error
> somewhere
> > in the first part of setting up the layers. Do you have a version for
> 2000?
> > I'm not too good with lisp and don't know how to tweak the code.
> >
> > Thanks,
> >
> > - Tom C.
> >
> >
> >
> >
> > "Paul Turvill" wrote in message
> > news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI adrTaRb...
> > > Try GO-0.LSP from
> > > http://www.turvill.com/t2/free_stuff
> > >
> > > It moves everything in a drawing to Layer 0 while retaining all
assigned
> > > colors and linetypes, whether originally set explicitly or bylayer.
> > > ___
> > >
> > > "Tom C." wrote in message
> > > news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI adrTaRb...
> > > > Is there a lisp routine that will maintain the linetypes after
you've
> > > > changed the objects to layer 0?
> > >
> > >
> >
> >
>
>
I replaced the line you gave and it worked as you said - only colors. Is
there a way to add the linetype variable in there?
Regards,
- Tom C.
"Casey Roberts"
news:534AA00E4045EB2B1C2659F5A4C3249A@in.WebX.maYI
> Actually, the lisp routine had a variable in the wrong spot.... I can send
> the 'fixed' one to you if you like... but it does not retain linetypes...
> only colors.
>
> If you wanna do it yourself find the line that reads: (third line of the
> actual program):
>
> "._layer" "_S" "0" "_T" "0" "_c" _conorm "0" "_f" "~0" ""
>
> and change it to this:
> "._layer" "_S" "0" "_T" "0" "_c" "8" _conorm "_f" "~0" ""
>
> "Tom C."
> news:8B82DC728D594947D5C56E8249F834A3@in.WebX.maYI
> > Thanks for the link Paul.
> > Unforntunately, I'm using Acad 2000 and the routine gets an error
> somewhere
> > in the first part of setting up the layers. Do you have a version for
> 2000?
> > I'm not too good with lisp and don't know how to tweak the code.
> >
> > Thanks,
> >
> > - Tom C.
> >
> >
> >
> >
> > "Paul Turvill"
> > news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI
> > > Try GO-0.LSP from
> > > http://www.turvill.com/t2/free_stuff
> > >
> > > It moves everything in a drawing to Layer 0 while retaining all
assigned
> > > colors and linetypes, whether originally set explicitly or bylayer.
> > > ___
> > >
> > > "Tom C."
> > > news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI
> > > > Is there a lisp routine that will maintain the linetypes after
you've
> > > > changed the objects to layer 0?
> > >
> > >
> >
> >
>
>
*Turvill, Paul
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2002 02:06 AM in reply to:
*C., Tom
My apologies, guys ... I thought I had uploaded the latest version of GO-0
to the site. Here's an updated one that works in A2K+ *and* handles
linetypes.
___
"Tom C." wrote in message
news:05E62C9354446BDA67BA04F6D47E31A9@in.WebX.maYI adrTaRb...
> Thanks Casey.
> I replaced the line you gave and it worked as you said - only colors. Is
> there a way to add the linetype variable in there?
to the site. Here's an updated one that works in A2K+ *and* handles
linetypes.
___
"Tom C."
news:05E62C9354446BDA67BA04F6D47E31A9@in.WebX.maYI
> Thanks Casey.
> I replaced the line you gave and it worked as you said - only colors. Is
> there a way to add the linetype variable in there?
*Friedrich, Peter
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2002 02:33 AM in reply to:
*C., Tom
(don't forget lineweights!)
"Tom C." wrote in message
news:05E62C9354446BDA67BA04F6D47E31A9@in.WebX.maYI adrTaRb...
> Thanks Casey.
> I replaced the line you gave and it worked as you said - only colors. Is
> there a way to add the linetype variable in there?
>
> Regards,
>
> - Tom C.
>
>
>
> "Casey Roberts" wrote in message
> news:534AA00E4045EB2B1C2659F5A4C3249A@in.WebX.maYI adrTaRb...
> > Actually, the lisp routine had a variable in the wrong spot.... I can
send
> > the 'fixed' one to you if you like... but it does not retain
linetypes...
> > only colors.
> >
> > If you wanna do it yourself find the line that reads: (third line of the
> > actual program):
> >
> > "._layer" "_S" "0" "_T" "0" "_c" _conorm "0" "_f" "~0" ""
> >
> > and change it to this:
> > "._layer" "_S" "0" "_T" "0" "_c" "8" _conorm "_f" "~0" ""
> >
> > "Tom C." wrote in message
> > news:8B82DC728D594947D5C56E8249F834A3@in.WebX.maYI adrTaRb...
> > > Thanks for the link Paul.
> > > Unforntunately, I'm using Acad 2000 and the routine gets an error
> > somewhere
> > > in the first part of setting up the layers. Do you have a version for
> > 2000?
> > > I'm not too good with lisp and don't know how to tweak the code.
> > >
> > > Thanks,
> > >
> > > - Tom C.
> > >
> > >
> > >
> > >
> > > "Paul Turvill" wrote in message
> > > news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI adrTaRb...
> > > > Try GO-0.LSP from
> > > > http://www.turvill.com/t2/free_stuff
> > > >
> > > > It moves everything in a drawing to Layer 0 while retaining all
> assigned
> > > > colors and linetypes, whether originally set explicitly or bylayer.
> > > > ___
> > > >
> > > > "Tom C." wrote in message
> > > > news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI adrTaRb...
> > > > > Is there a lisp routine that will maintain the linetypes after
> you've
> > > > > changed the objects to layer 0?
> > > >
> > > >
> > >
> > >
> >
> >
>
>
"Tom C."
news:05E62C9354446BDA67BA04F6D47E31A9@in.WebX.maYI
> Thanks Casey.
> I replaced the line you gave and it worked as you said - only colors. Is
> there a way to add the linetype variable in there?
>
> Regards,
>
> - Tom C.
>
>
>
> "Casey Roberts"
> news:534AA00E4045EB2B1C2659F5A4C3249A@in.WebX.maYI
> > Actually, the lisp routine had a variable in the wrong spot.... I can
send
> > the 'fixed' one to you if you like... but it does not retain
linetypes...
> > only colors.
> >
> > If you wanna do it yourself find the line that reads: (third line of the
> > actual program):
> >
> > "._layer" "_S" "0" "_T" "0" "_c" _conorm "0" "_f" "~0" ""
> >
> > and change it to this:
> > "._layer" "_S" "0" "_T" "0" "_c" "8" _conorm "_f" "~0" ""
> >
> > "Tom C."
> > news:8B82DC728D594947D5C56E8249F834A3@in.WebX.maYI
> > > Thanks for the link Paul.
> > > Unforntunately, I'm using Acad 2000 and the routine gets an error
> > somewhere
> > > in the first part of setting up the layers. Do you have a version for
> > 2000?
> > > I'm not too good with lisp and don't know how to tweak the code.
> > >
> > > Thanks,
> > >
> > > - Tom C.
> > >
> > >
> > >
> > >
> > > "Paul Turvill"
> > > news:BBB807B5F7C7E3EF3AC3F19ECACF5522@in.WebX.maYI
> > > > Try GO-0.LSP from
> > > > http://www.turvill.com/t2/free_stuff
> > > >
> > > > It moves everything in a drawing to Layer 0 while retaining all
> assigned
> > > > colors and linetypes, whether originally set explicitly or bylayer.
> > > > ___
> > > >
> > > > "Tom C."
> > > > news:2E28BF87F29D2A343009A8D0430B980C@in.WebX.maYI
> > > > > Is there a lisp routine that will maintain the linetypes after
> you've
> > > > > changed the objects to layer 0?
> > > >
> > > >
> > >
> > >
> >
> >
>
>
*Turvill, Paul
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2002 04:39 AM in reply to:
*C., Tom
Easy enough for anyone to add, if they want to...
___
"Peter Friedrich" wrote in message
news:8C17061B00B6A9062E9A41213D542EF7@in.WebX.maYI adrTaRb...
> (don't forget lineweights!)
___
"Peter Friedrich"
news:8C17061B00B6A9062E9A41213D542EF7@in.WebX.maYI
> (don't forget lineweights!)
Re: Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-04-2013 04:52 AM in reply to:
*Turvill, Paul
Hi
Sorry, i realise that this thread is really old.... been trying to find theversion of the lisp which does the linetypes too, are you able to post it please?
thanks in advance ![]()
N
