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.
Hi to all!
Some time ago I found lisp that create a coordinate table according to the coordinate points placed in the drawing.
The code I have posted creates the blocks at custom points,...
Have been trying to make s lisp code for a simple task but turned out that it might not be so easy. I found lots of information but not this one.
So i'm asking if this is even possible...
I am writing a lisp which calls a custom linetype from Acadiso.lin
The linetype doesn't exist on most users machines, but does on some.
What I'd like to put into my code is something like:
Batch Find & Replace Text
This program uses ObjectDBX to perform multiple text replacements on the current drawing or a complete directory (and subdirectories) of drawings. The program has the...
I have a list containing following elements
(setq a '((1 2 3) (1 3 2) (2 1 3) (2 3 1) (3 1 2) (3 2 1)))
Now, I want to create groups in the list according to element position (e.g....
i need help to extract length, width and thickness from 3-D constant thickness object using visual lisp...
and showing this L, B & T value in file...
I've done some AutoLISP programming to write plenty of routines that help me along in my day to day operations, but I've had some ideas that would benefit not only me, but many others in my same...
I am new to this whole autolisp world (or programming for that matter)
Anyways, here is what I am trying to do:
A command that would burst blocks according to a set of filters.
I have written several places of my drawing following texts
I need change this L7 to L4 in next drawing.
Is there a...
I'm currently in the process of setting up some customisations for my AutoCAD profile. At present I have set up an Excel sheet which makes titleblock alterations through a Lee Mac lisp...
I ask for help from the masters to create a routine that would help me a lot.
I have this old code that changes the text style of all text on a layer.
I don't want to get stuck to the code and...
I have lots of text on a drawing in the following form:
"B=12 37 54.1 L=........."
Now, since the above string does not contain the degrees (%%d ) minutes (') and seconds (") symbols I am...
I have a lisp routine that calculates the Inertia of a profile and I need to make it work in another language than English (FR), I already added "_" before my commands to make them...
I have 6 different commands for rotate 13 is my rotate command.
13... you get the point. Instead of haveing all these commands I would like to consolidate them into 1...
I use VBA quite a bit to automate and manipulate my drawings. I wanted to JOIN an Arc object and a Polyline object so I created a code string to pass to the SendCommand method. My code string was:...
I've searched on the forum and on the web for a way draw a line perpendicular to point A which is snapped to an object, but couldn't find a good solution that would work with every 2D...
if someone can help me i will be thanks
i need lisp can calculate manhole invert level for sewer line
i will give the lisp invert level 1 and slope and distance (distance is
I know Autolisp , Visual Lisp , What is Vanilla lisp ?
i'm wondering if it's possible to get a selection set filter from another selection set.
(ssget "P" '((0 . "ATTDEF"))) get all attribute from the last selection set
I have a data x. y. z coordinate in *.xls format; want to plot in AutoCad as a point, & then genrate contours. please help how to do it.
I have nearly 2000 maps and a txt file with their names and coordinates of insert points:(:(:(. I need an lsp which will insert each image into its place.*something like georef* The problem is how to...
knowing that is not possible to replace text
inside bloks whith the command Find
i kindly please this kind of lisp
1. select few blocks
2. activate the command -BEDIT
3. replace text...
I have a txt file in which I wrote after that I want to read something in him and he reaches the Ex. side1 keyword below to write one line side two other row as side3 can do this.
Can someone help...
few days ago I tryied some lisp files , after those lisps I got a problem , It automatically repeating _select comand
Select objects: !previousSelection"
after each comand ,...
I am looking (for quite a while now) for a way to automatically dimension (aligned dimensioning) a polyline. Unfotunately i can not find any way or any LISP tool to do this for me.
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–2015