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 everyone.
I was looking the routine everywhere with no success :( witch can in block "bar_1" take two attributes "tag1" and "tag2" multiple the two values and put the result in the same block...
Do you now how I must to work with BabaCadlisp?
And the function "Ortho"?
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 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.
When deleting the inserted block is it possible to join both end of lines autopmatically
I am trying to produce a 3D solid routine that combines a UCS 3 point function in it. The first 3 points control the ucs, the following points should be given by user and a extrude must be made. The...
Anyone have a Lisp routine that will turn off all layers marked as not plottable?
Hello, I am in search for a means to select all blocks on a drawing given a wildcard.
The particular wildcard we would be using is *- Dy
I have been searching for a while now, and have seen...
I currently have the following lisp file:
(if (setq ss (ssget "_F" '((7 2.5) (13.5 2.5)) '((0 . "INSERT"))))
(setq en (ssname ss 0))
recently I edited a simple routine to automatically generate .pdf files in both monochrome and coloured plot styles; currently I've been trying to create a routine for .plt files -...
Please help! , help me complete this program. many thanks!
;;Add to improve this program
(defun make-dcl (/ lst_str str file f)
(setq lst_str '(
As a rocky acad 2009 (civil) user the Lisp command is new to me and a big challenge.
My job asks me to find the coordinates of points. The image has like 200 points, and I know more images...
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...
I have 96 different hatches.
I have a template block with only 2 lines of text: Area and Name.
I want this block to appear in the middle(ish) of a hatch when i click on it, with "Name"...
i do a lot of projections when doing elevations / sections
and what i do is have the 2 viewports in model space in which the top vport shows the plan while the bottom shows the...
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
This lisp replaces the attribute value.
For some unknown reason, when I apply the lisp in the attached block it inadvertently reduces the font size attribute.
I have created other blocks for...
Hi, I'm looking for lisp to dimension quickly a facade contours and openings in a plan view. The facade is represented by a pline with different segments. I have an idea how the lisp should work, but...
Is it possible to select multiple blocks in the drawing, and instead set up one, choosing the insert. Desired block exists in the sketch. I will I enter their name.
I have a following query
I have a dwg file with page number which are in format.
As posted over at theSwamp, I thought I'd share it with you nice folks too :)
I've seen quite a few of these kind of programs knocking around, so I thought I'd give it a go at writing my own -...
I am looking for the following Lisp.
1 Select Block I make a set of data blocks in the DWG
2 Zomm first block in the set (this block is deleted from the set)
3 I will perform some action with...
I say 30 variables that I want to write the values without quotation marks.
* only a comma between values
(setq ax1 (strcat "Euro" "," "EU7X50" "," euro))
(setq ax2 (strcat "Hol2.5x25" ","...
Currently, the user can:
Insert a Block at all Points from a File (txt/csv)
Insert a Point at all Points from a File (txt/csv)
Following this thread and this thread, I thought I'd write a complementary function to allow the user to operate on numbers inside 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