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've looked for a code like this forever. Using lisp I'm looking to Insert a dynamic block, automatically select the stretch grip of the DB & When the lisp is done the DB will explode.
:(Hi, I have several WORKSPACE saved on my autocad.
is there lisp or a way to suprress the message
"Do you wish to replace it? ? <N> " when choosing SAveas from the workspace selection if that...
Does anyone know what is the system variable for Enterprise file path and support path and how to change the variables via LISP.
Or if that is even possible.
I'm looking for a simple lisp that puts a block (name: corner) in all corners of a rectangle. it needs to turn with the box. the block is at 0º in the upper left hand corner. I know there's something...
another simple question. I wrote:
and I get:
how can I change "10" to real number 10?
I'm just getting started into writing routines in LISP and since I'm totally new to this, I'd thought I'd ask for something basic to learn from.
I was wondering if someone could write a quick code...
Good day, is there any of route that will select all lines, blocks or xref to change the linetype scale, because i have recieve some of the drawings that ltscale is meters, but our...
Do you know any routine to list all layer's names in a text file or Excel sheet?
Please help. Tkx.
How to convert variable EntPick@ POLYLINE in LWPOLYLINE?
(setq EntPick@ (entsel "\nSelect polyline: "))
hi to all, i would like to ask what lisp will be use if i want to get file names in my hard drive and put it in mx excel with hyperlink? Supposing i have a bunch of files needed to make a hyperlink...
pls help me i need fill font or out line bold font just out line not fill colouer font how can make or type these type font in auto cad arabic or urdu english pls help me
I am working on VB as front end and back end as autocad.
my requirement is if autocad is not installed in my system . when ever my application runs it will display a message autocad...
how can I say this in autolisp:
(if (= a b) then do these (xxx) (xx) (xxxx)
I want to do several things after having a=b.
(if (= a b) ((xxx) (xx) (xxxx))
I have a simple question:
(command "_erase" "all")
and I get:
Merry Christmas everyone!
I'm looking for a way to solve 2 problems i have.
1) I'm working with contours and i'm looking for a lisp that can detect the 2d polylines or polylines that have the...
After much searching I can not find an answer to what seems like a simple problem.
I want to use vla-attribute to a block which has just been created in my code :-
I am using Civil 3d 2008 and i am looking for a way to "dimension" a polyline between specific vertexes.
For example if i have a polyline with 50 vertexes and i need to write the length...
I'm having an issue with decimal precision when developing a lisp routine. I'm trying to get accurate decimal precision using (getpoint), however it seems to always round to 0.0 precision.
trying to make this simple script but I get a bad function A10 on output. I also don't know how to use the =.
(reninsatt "A10" "new block NEW LOGO" "Template_New_2010")
(defun reninsatt(oud new...
Is it possible to write a lisp to make a mark (like barcode) on drawing and then protect this drawing to avoid somebody to update it again. Finally I can print this drawing to paper....
I have searched and found. But not understood... :oops: I mean there is a lot written but I seem to miss the point.
If I would want to do a specific task, like in a lisp file, to multiple...
According to my experience about Basic, there was a way to create a database with Array. Is there any similar way in LISP?
I want to ask the user for some inputs and in the background...
Could the lisp Open an Excel file then pause untill the file closed then use the data in this file?
So I have to do a lot of boring work like updating old templates with new ones. And I was asked to copy past all that attribute text to the new template. And hell no I'm not planning to do that...
I am progressing with my Flange lisp and everything seems to be coming together. I am working on getting external data to be used for variables in the program. I found a routine on Afralisp...
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–2016