Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
|
Post Reply ![]() |
Author | |
rsimpson003 ![]() Newbie ![]() Joined: 15.Feb.2008 Location: New Zealand Status: Offline Points: 3 |
![]() Posted: 15.Feb.2008 at 03:52 |
Does anyone know if there is a way to reverse a polyline in AutoCAD LT 2008? I know this can be done with a spline.
DRC has a product call LT toolkit (LISP Extender) but compared to other products ($350USD) it is quite expensive.
Any help would be greatly appreciated.
Cheers
![]() |
|
![]() |
|
Arben.Allaraj ![]() Senior Member ![]() Joined: 14.Nov.2007 Location: Albania Using: AutoCAD 2008 Status: Offline Points: 602 |
![]() |
Welcome to CADFORUM.
I finded a lisp program that you want.
(defun c:rev() (command "redraw") (setq a (entsel "\nSelect Polyline to reverse direction of: ")) (setq pt1 (getpoint "\nPick end point you want to be start of polyline: ")) (setq y (cadr pt1)) (setq x (car pt1)) (setq x1 (+ x 100)) (setq y1 (+ y 100)) (setq pt2 (list x y1)) (command "line" pt2 pt1 "") ;temp line needed to reverse poly direction (setq b (entlast)) (command "pedit" b "y" "j" a "" "") ;join temp line to polyline (setq c (entlast)) (command "break" c pt1 pt1) ;break new polyline at temp line (entupd c) (command "erase" c "") ;erase temp line (princ) ) Edited by Arben.Allaraj - 15.Feb.2008 at 11:40 |
|
Ing Arben.Allaraj
http://cad-drafting-corner.blogspot.com |
|
![]() |
|
rsimpson003 ![]() Newbie ![]() Joined: 15.Feb.2008 Location: New Zealand Status: Offline Points: 3 |
![]() |
Thanks for your prompt reply.
I believe that LT 2008 cannot use LISP programs, this is a function of the full version of AutoCAD, unless you know otherwise.
There is a program for reversing polylines for FULL AUTOCAD call rev_poly, but since I'm only using the LITE version it wil not work.
If that program string that you wrote can be applied then how?
the only thing that is available is a script file function would your program string work with this??
cheers
|
|
![]() |
|
Arben.Allaraj ![]() Senior Member ![]() Joined: 14.Nov.2007 Location: Albania Using: AutoCAD 2008 Status: Offline Points: 602 |
![]() |
Open the Vlisp Editor with Vlide-command.
Select the text and copy-paste in Visual Lisp Editor and save it as Rev.lsp
Load this file with appload command and then type rev in command window.
I hope that you understand me.
|
|
Ing Arben.Allaraj
http://cad-drafting-corner.blogspot.com |
|
![]() |
|
rsimpson003 ![]() Newbie ![]() Joined: 15.Feb.2008 Location: New Zealand Status: Offline Points: 3 |
![]() |
good morning/evening,
thanks for your post - I think you have misunderstood me in that the AutoCAD program that I'm using is a cut down version and therefore is very limited in it's capabilities (i.e. there is no Vlisp Editor command option or appload) that is why I was asking if there was anything other out there.
Check out www.drcauto.com which is a site for software to turn your AutoCAD LT program into something that resembles the full autocad version.
Thanks once again for your time & help
Cheers
|
|
![]() |
|
Arben.Allaraj ![]() Senior Member ![]() Joined: 14.Nov.2007 Location: Albania Using: AutoCAD 2008 Status: Offline Points: 602 |
![]() |
I don't use AutoCAD LT maybe I have been wrong.
Whatever Thanks a lot.
|
|
Ing Arben.Allaraj
http://cad-drafting-corner.blogspot.com |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,156 seconds.