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 can not get this to work I want to pick a txt file tried all sorts of BIT settings it just does not go to the correct directory other tests work. Checked Alpha upper lower etc exactly as it appears...
Is it possible to insert multiple files in one drawing using lisp ?
For example. I have some files with cross sections (one cross section per file)
I want to array (5 x 3 or 7 x 3, colums x...
Please help me edit this code.
It creates chainage along polyline. What I want is to change the "CH 0.00" to the elevation value of the polyline(defun c:cr (/)
(defun _Line (p b o)
hi dear friends
when i (ssget "w") get error, As shown in the following, why get error?
let me thank you all for your help in previous postings..........now I came with another issue an auto cad drawings with lot of texts have been provided by client and he is asking to put all the...
Thanks for this site and everyone that posts on it....
I have recieved a lots of great information just reading through forums.
i have a cad file with road plan in the...
can anyone point me in the right direction, i need to generate a user form that has a list box which is populated from a text file.
im normally a vba programmer which would be simples but...
Found this one in a forum. Can anyone clean this up? Thank you in advance.
Im looking for a lisp to sum the values of 3d pipe solids , each pipe own its own layer ,represent different diameter.
The info exist in the properties palette .( see picture attached -"Length")
:(hi dear all friends
cmdecho function what do? and when used?
(setvar "cmdecho" 0)?
(sevat "cmdecho" 1)?
The above instructions what do?
thanks a lot
I got this image from some of the Internet web site,
but now I can't remember
I would like to know that is this a lisp Programme or a cad command..............
Can someone help me how to create .lsp for changing the value globally in attribute value.
for example drawing see image
I have 20-30 sheet with typical block Attribute. Using script...
At "Mode space" , I have some drawing. maybe is not the same as the size of the drawing frame .
I need to arrange them neatly by drawing No. (1-SS706A-003).
I hope can set Columns ...
Have anyone tried to create a command which draws a polyline according to coordinates of points and the radius of bending? It means that the command draws, for example, a polyline like in attachment,...
Im assuming this could be done via a lisp but not entirely sure.
Im wondering if there is a way to create a layout with border plus a viewport that uses a polyline/block set in model...
First of all sorry for my poor english. I'm total beginner in AutoLISP, I work mostly with GIS software and data, but i have to manage the following problem. I've recieved a big DWG file which...
Can someone please tell me what's wrong here?(cond
(and (>= (atof edit1$) 0)( <= (atof edit1$) 7.5)
(vl-cmdf ".-insert" "L:\\2015 STANDARDS\\2015 BLOCKS\\VANGS\\RV01-RV10TA.dwg" p1 "" "" "")
Looking some something that will allow me to copy an xref from one drawing and paste it into another drawing while keeping the layer status from the drawing that it was copied from. When I copy and...
Hi guys, I have a lot of drawing imported from another design software but he brings me true colors objects and what i need is change this colors to normal colors:
From 0,128,0 to 94 (green)...
Is Some one here to help me or can write program for me.
as in my daily work of drafting i have to solid hatch closed areas of drawing. and they are plenty in figures. with are in diffrent colour...
hello dear friends
:(i want lisp code the capture a large coordinates points and them connect by line, i know by scr do this, but in lisp how do this?
thanks a lot
I’m having difficulty using Auto lisp and I’m wondering if anyone can help me out.
I’m looking for a way to link both an excel table and an AutoCAD drawing together, where if I plug a number...
I need to make a selection set of objects in three different layers (or layers with prefix "RH_".
What I have is this - it works when I specify only one layer.
How do I make a selection set of...
I'm sorry if I'm posting this question on the wrong place, it's my first one on the forum :?
I have a drawing in which there are some polylines/objects drawn (usually rectangles) with some text...
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