
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So i am completely in over my head with this LISP stuff. I wanted to try and write a simple routine to try and automate a few processes i do manually within a drawing. Basically i wanted to draw 2 seperate circles with a set radius at a selected point(circle 1 with a radius of 0.75, circle 2 with a radius of 1.1), trim all lines inside circle 2, and then delete circle 2.
After lots of time on different websites/forums and trying to copy parts of this code and parts of that code, i got some of my routine to work. I can succesfully draw the 2 circles at the set radius, but when i got to the EXTRIM command thats when it all started to go flying over my head. I couldn't even get my routine to erase the second cirlce. Any help would be greatly appreciated, even being pointed in the right direction. Here is my attampt at the routine, keeping in mind that i am very much only just starting to understand the basics of LISP.
(defun c:station ()
(setq pt1(getpoint))
(command "circle" pt1 0.75)
(setq circle_2 (command "circle" pt1 1.1))
)
Thanks
Daniel
Solved! Go to Solution.