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
*Bose, Steve
change length to match length
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
126 Views, 5 Replies
05-24-2002 10:37 PM
Anybody have a command to make a line change length to match length of a
line, arc, polyline or circle? Could use this when making flat patterns
layouts. Thanks for any help Steve
line, arc, polyline or circle? Could use this when making flat patterns
layouts. Thanks for any help Steve
*Turvill, Paul
Re: change length to match length
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-25-2002 12:52 AM in reply to:
*Bose, Steve
Could be done with a little LISP ... but it would take a bit more
information about the line: would you want it to remain at the same angle,
or would that change as well? Which end would you want to extend/shorten? Or
would you like to add the same amount on both ends?
___
"Steve Bose" wrote in message
news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI adrTaRb...
> Anybody have a command to make a line change length to match length of a
> line, arc, polyline or circle? Could use this when making flat patterns
> layouts. Thanks for any help Steve
>
>
information about the line: would you want it to remain at the same angle,
or would that change as well? Which end would you want to extend/shorten? Or
would you like to add the same amount on both ends?
___
"Steve Bose"
news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI
> Anybody have a command to make a line change length to match length of a
> line, arc, polyline or circle? Could use this when making flat patterns
> layouts. Thanks for any help Steve
>
>
*Bose, Steve
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-28-2002 01:54 AM in reply to:
*Bose, Steve
Paul,
Thanks for the reply. Would like it to work like the lengthen total
command, where the end you pick changes with line staying at same angle.
Thanks,
Steve
Paul Turvill wrote in message
news:7A8D40B59353F6DBCED9BC553D058B96@in.WebX.maYI adrTaRb...
> Could be done with a little LISP ... but it would take a bit more
> information about the line: would you want it to remain at the same angle,
> or would that change as well? Which end would you want to extend/shorten?
Or
> would you like to add the same amount on both ends?
> ___
>
> "Steve Bose" wrote in message
> news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI adrTaRb...
> > Anybody have a command to make a line change length to match length of a
> > line, arc, polyline or circle? Could use this when making flat patterns
> > layouts. Thanks for any help Steve
> >
> >
>
>
Thanks for the reply. Would like it to work like the lengthen total
command, where the end you pick changes with line staying at same angle.
Thanks,
Steve
Paul Turvill
news:7A8D40B59353F6DBCED9BC553D058B96@in.WebX.maYI
> Could be done with a little LISP ... but it would take a bit more
> information about the line: would you want it to remain at the same angle,
> or would that change as well? Which end would you want to extend/shorten?
Or
> would you like to add the same amount on both ends?
> ___
>
> "Steve Bose"
> news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI
> > Anybody have a command to make a line change length to match length of a
> > line, arc, polyline or circle? Could use this when making flat patterns
> > layouts. Thanks for any help Steve
> >
> >
>
>
*Turvill, Paul
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-28-2002 05:41 AM in reply to:
*Bose, Steve
Quick & dirty -- easiest way seemed to be to just use the LENGTHEN command:
(defun C:ASLONGAS (/ cmde obj len)
(setq cmde (getvar "cmdecho"))
(setvar "cmdecho" 0)
(setq obj (car (entsel "\nSelect object to measure: ")))
(command "_.lengthen" obj "")
(setq len (getvar "perimeter"))
(prompt "\nPick end of line to change: ")
(command "_.lengthen" "_t" len pause "")
(setvar "cmdecho" cmde)
(princ)
)
No error checking, but it works as you describe on most objects. Feel free
to modify & refine as you see fit.
___
"Steve Bose" wrote in message
news:13B398086E8D2508C05493B48C486A81@in.WebX.maYI adrTaRb...
> Paul,
> Thanks for the reply. Would like it to work like the lengthen total
> command, where the end you pick changes with line staying at same angle.
>
> Thanks,
> Steve
>
>
> Paul Turvill wrote in message
> news:7A8D40B59353F6DBCED9BC553D058B96@in.WebX.maYI adrTaRb...
> > Could be done with a little LISP ... but it would take a bit more
> > information about the line: would you want it to remain at the same
angle,
> > or would that change as well? Which end would you want to
extend/shorten?
> Or
> > would you like to add the same amount on both ends?
> > ___
> >
> > "Steve Bose" wrote in message
> > news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI adrTaRb...
> > > Anybody have a command to make a line change length to match length of
a
> > > line, arc, polyline or circle? Could use this when making flat
patterns
> > > layouts. Thanks for any help Steve
> > >
> > >
> >
> >
>
>
(defun C:ASLONGAS (/ cmde obj len)
(setq cmde (getvar "cmdecho"))
(setvar "cmdecho" 0)
(setq obj (car (entsel "\nSelect object to measure: ")))
(command "_.lengthen" obj "")
(setq len (getvar "perimeter"))
(prompt "\nPick end of line to change: ")
(command "_.lengthen" "_t" len pause "")
(setvar "cmdecho" cmde)
(princ)
)
No error checking, but it works as you describe on most objects. Feel free
to modify & refine as you see fit.
___
"Steve Bose"
news:13B398086E8D2508C05493B48C486A81@in.WebX.maYI
> Paul,
> Thanks for the reply. Would like it to work like the lengthen total
> command, where the end you pick changes with line staying at same angle.
>
> Thanks,
> Steve
>
>
> Paul Turvill
> news:7A8D40B59353F6DBCED9BC553D058B96@in.WebX.maYI
> > Could be done with a little LISP ... but it would take a bit more
> > information about the line: would you want it to remain at the same
angle,
> > or would that change as well? Which end would you want to
extend/shorten?
> Or
> > would you like to add the same amount on both ends?
> > ___
> >
> > "Steve Bose"
> > news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI
> > > Anybody have a command to make a line change length to match length of
a
> > > line, arc, polyline or circle? Could use this when making flat
patterns
> > > layouts. Thanks for any help Steve
> > >
> > >
> >
> >
>
>
*Bose, Steve
Re:
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-29-2002 02:01 AM in reply to:
*Bose, Steve
Paul,
Thank you very much, it works great.
Steve
Paul Turvill wrote in message
news:31D10002CD4E467755A79D766552F9BB@in.WebX.maYI adrTaRb...
> Quick & dirty -- easiest way seemed to be to just use the LENGTHEN
command:
>
> (defun C:ASLONGAS (/ cmde obj len)
> (setq cmde (getvar "cmdecho"))
> (setvar "cmdecho" 0)
> (setq obj (car (entsel "\nSelect object to measure: ")))
> (command "_.lengthen" obj "")
> (setq len (getvar "perimeter"))
> (prompt "\nPick end of line to change: ")
> (command "_.lengthen" "_t" len pause "")
> (setvar "cmdecho" cmde)
> (princ)
> )
>
> No error checking, but it works as you describe on most objects. Feel free
> to modify & refine as you see fit.
> ___
>
> "Steve Bose" wrote in message
> news:13B398086E8D2508C05493B48C486A81@in.WebX.maYI adrTaRb...
> > Paul,
> > Thanks for the reply. Would like it to work like the lengthen total
> > command, where the end you pick changes with line staying at same angle.
> >
> > Thanks,
> > Steve
> >
> >
> > Paul Turvill wrote in message
> > news:7A8D40B59353F6DBCED9BC553D058B96@in.WebX.maYI adrTaRb...
> > > Could be done with a little LISP ... but it would take a bit more
> > > information about the line: would you want it to remain at the same
> angle,
> > > or would that change as well? Which end would you want to
> extend/shorten?
> > Or
> > > would you like to add the same amount on both ends?
> > > ___
> > >
> > > "Steve Bose" wrote in message
> > > news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI adrTaRb...
> > > > Anybody have a command to make a line change length to match length
of
> a
> > > > line, arc, polyline or circle? Could use this when making flat
> patterns
> > > > layouts. Thanks for any help Steve
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Thank you very much, it works great.
Steve
Paul Turvill
news:31D10002CD4E467755A79D766552F9BB@in.WebX.maYI
> Quick & dirty -- easiest way seemed to be to just use the LENGTHEN
command:
>
> (defun C:ASLONGAS (/ cmde obj len)
> (setq cmde (getvar "cmdecho"))
> (setvar "cmdecho" 0)
> (setq obj (car (entsel "\nSelect object to measure: ")))
> (command "_.lengthen" obj "")
> (setq len (getvar "perimeter"))
> (prompt "\nPick end of line to change: ")
> (command "_.lengthen" "_t" len pause "")
> (setvar "cmdecho" cmde)
> (princ)
> )
>
> No error checking, but it works as you describe on most objects. Feel free
> to modify & refine as you see fit.
> ___
>
> "Steve Bose"
> news:13B398086E8D2508C05493B48C486A81@in.WebX.maYI
> > Paul,
> > Thanks for the reply. Would like it to work like the lengthen total
> > command, where the end you pick changes with line staying at same angle.
> >
> > Thanks,
> > Steve
> >
> >
> > Paul Turvill
> > news:7A8D40B59353F6DBCED9BC553D058B96@in.WebX.maYI
> > > Could be done with a little LISP ... but it would take a bit more
> > > information about the line: would you want it to remain at the same
> angle,
> > > or would that change as well? Which end would you want to
> extend/shorten?
> > Or
> > > would you like to add the same amount on both ends?
> > > ___
> > >
> > > "Steve Bose"
> > > news:7D3B66E5FBBFCE25D310D9FB971810D8@in.WebX.maYI
> > > > Anybody have a command to make a line change length to match length
of
> a
> > > > line, arc, polyline or circle? Could use this when making flat
> patterns
> > > > layouts. Thanks for any help Steve
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: change length to match length
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-20-2012 03:42 AM in reply to:
*Bose, Steve
Look at this web site: http://a-cad-emia.blogspot.com.es/2012/08/los-defe

