Yes I'm replying to a 10 year old thread, here's hoping someone has been able to get this to work recently. I'm in Autocad 2023, trying to get this lsp to work. I've shot in 4 bolts on a flange with a total station, and brought the data into Autocad. The smallest deviation in height exists, but I want to fit a circle of known diameter to these points to try and get my centre of pipe.
The error autocad is throwing at me is "malformed list on input". A quick google search is telling me this is likely a bracket not being closed at some point. Finding a bracket is easy, but learning how the code works isn't all that easy for me at least. Does it work for anyone else? Does anyone have an alternate solution after all these years?
Circle (lisp) routine in autocad
-
- I have made 100> posts
- Posts: 107
- Joined: Thu Mar 09, 2017 4:27 pm
- 6
- Full Name: Gordon
- Company Details: Roskda DBO
- Company Position Title: GIS Coordinator
- Country: Canada
- Linkedin Profile: Yes
- Location: Alberta
- Has thanked: 9 times
- Been thanked: 11 times
-
- I have made 70-80 posts
- Posts: 77
- Joined: Fri Oct 23, 2015 3:15 pm
- 7
- Full Name: NEDELEC Tanguy
- Company Details: Prigent et Associes
- Company Position Title: Surveyor - nooks and crannies explorer
- Country: France
- Linkedin Profile: No
- Location: Dinan
- Has thanked: 7 times
- Been thanked: 15 times
-
- I have made 100> posts
- Posts: 107
- Joined: Thu Mar 09, 2017 4:27 pm
- 6
- Full Name: Gordon
- Company Details: Roskda DBO
- Company Position Title: GIS Coordinator
- Country: Canada
- Linkedin Profile: Yes
- Location: Alberta
- Has thanked: 9 times
- Been thanked: 11 times
Re: Circle (lisp) routine in autocad
That fixed it. The circle isn't drawn on the same plane, it ends up at elevation 0 on my drawing. Small issue for someone to fix who has time.Tanguy Nédélec wrote: ↑Fri Mar 17, 2023 1:21 pm Add a closing parenthesis at the very end of Andrew's code![]()