Author Topic: Trying to simplify or clean up  (Read 2612 times)

0 Members and 1 Guest are viewing this topic.

Biscuits

  • Swamp Rat
  • Posts: 502
Re: Trying to simplify or clean up
« Reply #15 on: December 02, 2021, 08:11:43 AM »
Polylines were plenty long. first pic shows original results. Second pic shows results from second version along with error message:
; error: Automation Error. Invalid input

mhupp

  • Bull Frog
  • Posts: 250
Re: Trying to simplify or clean up
« Reply #16 on: December 02, 2021, 02:14:02 PM »
; error: Automation Error. Invalid input
Seems AutoCAD  can't process list when making a polyline. Well it needs a little bit of help.
https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/create-polyline-from-a-list/td-p/856098

This works just fine in BricsCAD tho.
(command "_.Pline" pts "")

replace that line with this and should work after that.
(command "_.Pline" (car pts) (cadr pts) "")

Also I remember this from Lee Mac.
http://www.lee-mac.com/circletangents.html

Biscuits

  • Swamp Rat
  • Posts: 502
Re: Trying to simplify or clean up
« Reply #17 on: December 02, 2021, 03:36:23 PM »
Works like a charm. Thank you!