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.
We have been manually placing control points at the midpoint of pipe fittings. The "point" is actually a small CADMEP object.We do this to export to a robotic station for marking locations in field....
It works but it takes a long time to process. I was thinking my coding can be changed to work more proficient.
(defun c:clj (/ c d2d d3d e)
(setq layerset (getvar "clayer"))
I need it to select polylines.
then get linetype,depth,length
take and add the same like lengths and give quantities for them.
linetyp - depth - length - qty
hidden - 10 - 12 ...
I am creating lisp routine and the work is to selected Mtext or text and the corresponding content is to be added as Xdata to the selected entity.
I am looking for a lisp that you would use for a building elevation, and click each level to insert a predefined block with the building level on it. Something similar to this lisp...
Hi all, i have a friend from planning department, he is entering data for completed activitys, he is doing this manually, we want to do it with a lisp, so i will enter some data to excel, and autocad...
LOOKING FOR LISP SOME ONE CAN HELP PLEASE.
I got to do a lot of work on my new project, this is something I had never done before...the task is to calculate certain grade...
I want to select surfaces by name, add them it into selection set and change there layers to something else.
The idea behind is that I want to make a certain draw order in my drawing, but...
Many times in my practice we receive a 3d design from an external design company in different formats. The most common one is the XML format, but that one is not always giving the...
i've a question, i made 9 function (g1 g2 g3 m1 m2 m3 p1 p2 p3)
I want to call each of them in a mapcar function, the 9 functions are into a list in arg of my function :
Let see exemple...
Is there any LISP to Unload all XREF?
One of my routine work is to highlight only part view of a drawing that has changes, to our consultants.
This involves creating individual viewports, of a specific view, out of that drawing...
I have a great lisp that sequentially numbers/letters existing text or blocks with attributes. I'm not well versed in lisp. I was wondering if someone could possibly modify this lisp to also work on...
I'm trying to get the name of an object with auto lisp.
First a user will select an object and then I will get the name of that object for example: circle, rectangle, arc....
Here is what I...
How are you?
I need help to control the text size of my code.
Anybody Can help me out help?
(defun C:ld (/ osm pt prf suf)
(defun *error* (msg)
When deleting the inserted block is it possible to join both end of lines autopmatically
I need some LISP routine which autonumbers distance between polygon vertices.
Hello, i need help with following line
(setq intersection(vlax-invoke-method vla_obj_first.IntersectWith(vla_obj_second, acExtendOtherEntity)))
i keep getting 'no function definition:...
Is it possible to generate a list of blocks and their sizes in kb?
I regularly receive drawing from clients and sometimes the file size is enormous, containing hundreds of blocks. I was hoping...
Hi, have been looking around on the concept of error handling, but haven't been able to find if it's possible to go back to showing the DCL dialog box after a user presses "Esc" during object...
it's helped me in more work
could you modify lisp to same as
in to work on command line with decimal
because i am working on drainage profile by placing existing water,sewer...
Hi I want draw lines it has create new layer and snap end point and Ortho on once I right click or cancel it has to go back to old layer and snap off and Ortho off
I realise this has been covered in various forms before - but I think the fact I am working on a Mac does change it a bit as it seems I can't support any Visual Lisp files.
I am looking for a macro or lisp routine that allows me to insert a field in a text box that automatically takes a dimension's measurement. I am looking to skip all the dialouge boxes...
I am seraching for lisp file for automatically incrementally number blocks?
from where I stop number its continue? if any have it and how to use it ?8)
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