CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.095.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

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.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedautolisp bad coordinate

 Post Reply Post Reply
Author
ZICOOO82 View Drop Down
Newbie
Newbie


Joined: 30.Aug.2010
Location: Egypt
Using: AUTOCAD2010
Status: Offline
Points: 2
Direct Link To This Post Topic: autolisp bad coordinate
    Posted: 14.Nov.2010 at 10:05
Kindly to help me:
the following codes always gives me bad coordinate after inserting it into lisp file and activate it:
 
(command "line" (list 0 2.5 0) (list 0 7.5 0) "")
(setq en3(entlast))
(command "circle" (list 0 0 0) 2.5)
(setq en1(entlast))
(command "-ATTDEF" "" "point" "" "P" "j" "mc" (list 0 0 0) "2.5" "")
(setq en2(entlast))
(command "-block" "po" (list 0 7.5 0) en1 en2 en3 "")
 
and if i activate every line separately i get the correct coordinate,,,
Thanks
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,068 seconds.