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.
Autoloading a list of routines and when I run one of the commands, I get stuck in an "Initializing..." loop.
What could be causing it?
Thanks for any help,
The title of the previous thread I had for these routines no long fits.
Any help would be appreciated as to how to make the code more efficient. The routines do just what they should...
I have researched a fair bit and have found solutions to this issue, but I just can't seem to get it to work.
I'm writing a LISP that includes plotting a drawing to a PDF. The...
This is something I have never seen before or know how to fix.
A program I have run has be installed countless times on many different computers and versions on AutoCAD all over Australia and I...
So this was in my head lately, and now I decided to share it, and ask if anyone could make this code work for floating points aswell.
Some information about the code:
1. Get some...
Can anyone help me to split several text and Mtext objects based on a vertical polyline passing through them?
This is what I mean:
I've been having some trouble getting SSGET filters to recognise a particular ProSteel element type (called "Ks_VolBody"). In my experience SSGET filters work fine with all other...
Although initially ported under the VBA forum, I m posting this here as well as it may have better luck.
I ve been programming in lisp for quite some time having troubles to design...
First, I would like to credit user "irneb" for the first portion of this code that selects objects based on their display color.
With the use of this, I have added the functionality to send those...
How would I go about setting up a command reactor for paste and pasteclip? I profess zero knowledge when it comes to reactors.
As a fun pre-4th prank I would like the following to run...
I've done some searching and have not seen anything that answers this.
If I have a variable that represents a selection set of objects, how would I assign a different variable for each...
Is there a function that return the pick point from a text entity??
Hi, can anyone help to chech what's wrong with my code,I can not get the figure.
(setq n (getint "Input number of points: "))
(while(> n 0)
(setq n (- n 1))
could You help me with LISP that will do stuff like this:
1) I have a some polylines on drawing. All are closed. I start the lisp and could select one.
2) Selected (1st) polyline should be...
I am working on a program right now to count all blocks that are on a certain layer and that start with "Tree_". The blocks all go Tree_typeoftree_caliperoftree, for example Tree_decidous_18. I want...
when binding xref, the operation is canceled in case there are orphaned drawing referenced. how can i ignore those operands so the bind process will be done.
i found a lisp on the web and like this lisp but could it be made that i have a third option "both" , inside and crossing.
(defun c:SWCC (/ _pac add ss i e temp it o a b pts tempC i3 ec)
Is there a lisp to change my background color?
We receive projects from multiple architects so the names of the layers will be different every project. For our background standards we use multiple...
Is there a LISP routine that delete's all the proxy entitiy's in your drawing?
Or another way to get it deleted out off the drawing?
Anyone know the code in lisp to create a warning message that has yes no buttons? and does one function if yes and another if no???
Thanks in advance
Hello to all:
I have some LISPS that will move single-selected entities to different layers in a drawing These objects are all inside of blocks.
I now need to have the functionality extended...
Some other developers here are sending some variables with values into the project I'm working on from C#.NET code. It looks simple but something I did not expect is happening.
I had a quick question if it is possible to turn off all the background masks for 3D label styles. I have 2 identical drawings (one is just a copy of the other that is done at the end of the...
i just want all dialog boxes to start from the 'dwgprefix' and not by the last place visited.
this painful problem was asked before but has no sufficient answer just yet.
can someone help me make a lisp loop routine to make LINE and copy the Position Y, and paste it as Position Z???
so Position Y and Position Z will be the same?? please???? this would help us a lot!...
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