Questions from beginner to advanced. Tell us about good sources of free lisp and post your own routines for testing.Code posting guidelines
The "AutoLISP, VBA, the CUI & Customisation" forum has become a very lively part of the AutoCAD Forums and probably needs a structural review in order to acommodate growth in the future. I'm...
Code posting guidelines
When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others.
I came across LISP routine to remove dimension & hatches but not text & leader lines.
Anyone with such a routine to delete all text & leaders (including within blocks & nested block)
Hi Please any body help me to fix this I modify one lisp for my use I came up to this level any body can help me to move this circle 1.2m forward along that line
Hello people i am new in autolisp programing, i have simple question. how to show x and y coordinates and block name of selected shape in alertbox?
my example(not working):
(defun c:get (/ pt)...
I want choose a face of 3d entity , edge projection , This is possible ??
the edge is line.
I know a command is "_xedges", but this extract all edges ,
use copy edges ? Looks good , but...
Any body could help me?
i am looking for box culvert with dynamic block
no 1 1.5x15
no 1 1.8x18
Is there a way of writing a selected amount of the command line history to a file via a lisp routine?
An option to write analysis to file pops up when using the MASSPROP command (see attached...
hi dear friends
i drawing object in autocad , i want export with stl format, but give error: select solid or watertight meshes.
please help me
please help anyone have AutoLISP 1-100 number and so on?
Hi pro guru.
Anybody can help me how to write a lisp can create a boundary box with spline entity?:lol::lol:
Hi to all,
I'm working on urban planning, and i need to put block (point+number) on evry vertex of polyline. Is there lsp that can do this automatic? So far I do this on the hard vay. I find...
Is it possible to copy and paste xdata from objects (polylines).
I need to escape double quote characters.
I read attributes, I write the values to file. Those values need to be escaped in the file.
So, what I need should look somewhat like...
I'm trying to find out how to write a lisp or script for my needs but I can't find what I'm looking for. It is very basic I think.
What I want it to do is:
Create a layer with a certain...
how can i export and import text autocad to excel?pls help me
I found this online and it works. But the out put is different to what the Engineer/Client is looking for.
Chainage prints out at '100', '200' -----> '1100', '1200' etc.
Im looking for...
Why not work variable in ssget function?
(setq lay (cdr (assoc 8 (entget (car (entsel))))))
(setq collection (ssget '((0 . "*POLYLINE") (8 . lay))))
I am trying to show the gradient of a line as a dimension or possibly with a leader indicating which way the slope is declining. I am on AutoCAD 2014 is there command to do this or will I...
Hello I would like to know if anyone ever saw this error .
; error: Exception occurred: 0xC0000005 (Access Violation)
; warning: unwind skipped on unknown exception
and If they know how to fix...
I have another entity make program for you to try out. Back some time this type of program was requested. I noticed a couple of threads on the subject, But there was nothing quite...
I m trying to make a selection set using a point and a couple of lines passing through this point (caution, NOT terminating). I want to select lines of specific layers. What I m typing is this
Can help me to supplement the "dot" function ? Thanks a lot!
(defun C:myjoin(/ E H J LST N OBJ P11 P12 P21 P22 SS X)
is any way to get command line status by programming in visual lisp?
I.e. finding whether command line is:
on (visible) or off (invisible)
floating or docked (fixed)
I appreciate any...
Is it possible to find out which template file used in new opened drawing via visual lisp?
Assume someone issues NEW command and selects a .DWT file as template. Now after ending NEW...
Following an idea posed in this thread, I have created the following code to enable a user to automatically update titleblock attributes using data sourced from a CSV Drawing Register, a...
I hope I am in the correct forum.
I would like to create a scenario where I have two identical text boxes and where entering text in one automatically populates the other text box.
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Conceived, created and cared for by David Watson © 1996–2014