sergiu_ciuhnenco Posted June 8, 2015 Share Posted June 8, 2015 Good morning world, Could somebody help me with a lisp; That's the problem : I have to make a check of reinforcement , so I have to look at paper and in autocad , but I have to pan the view a lot of times down ; The reason is to move from present view down with a constant unit for example 45000, the number could be inscripted in lisp , I mean not to introduce it manualy in autocad. Thanks in advance ! Quote Link to comment Share on other sites More sharing options...
Tharwat Posted June 8, 2015 Share Posted June 8, 2015 Try something like this ; (command "_.-pan" '(0. 0. 0.) (polar '(0. 0. 0.) (* pi 1.5) 45000)) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted June 8, 2015 Share Posted June 8, 2015 Or just: (defun c:pd nil (command "_.pan" "_non" '(0 0) "_non" '(0 -45000)) (princ)) Quote Link to comment Share on other sites More sharing options...
sergiu_ciuhnenco Posted June 8, 2015 Author Share Posted June 8, 2015 It works perfect , phanks again !!!!!! Have I nice day !!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.