Questions tagged [autocad-scripts]

33 questions
0
votes
1 answer

AUTOCAD SPECIFY LOCATION OF A POINT RELATIVE TO AN EXISTING LINE

I have a line (3d) with defined chainage (km relative to a reference location). There are a list of fixed objects around the line, wherein the X-Y-Z coordinates of the objects are given. The line and the objects have the same origin and same…
0
votes
0 answers

AutoCAD LISP Creation

I want to create a LISP program to change the complete template with new template for batch of files. I created a script but it's showing an error: (setq ss (ssget "_X" '((0 . "INSERT") ( 2 . "old_block_name")))) (if ss (command "_.ERASE" ss…
-1
votes
1 answer

Function in CAD to create a best-fit circle using multiple points

Example circleI have to draw best-fit circle using multiple points (in AutoCAD). The software only allows for three, but no more, points to be selected. Circle_2 is there a code I can write and embed it into CAD? Thank you :)
1 2
3