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.
if i hve welded wire mesh i want alculate weight for it . that mesh with vaiable bar diameter vertical and horozontal i attached xls sheet do that i hope i can catch lisp do that in autocad .
i have idea for isp i hope i can found it :
Split sides of the box to equal distances so that the remaining distance is divided evenly between the beginning and end of each rib on the end also have...
Does an AutoCAD drawing store the list of hatch pattern names used in the drawing?
I explored NamedObjDict but I could not find anything.
I want to extract the list into a text (or xl) document...
It is possible to count the number of blocks with a given name within the área of the polyline, with a simple click inside the area? :roll:
A hug to everyone.
Is it possible to adjust the appearance of a dialog box to become equal in all sides ?
The following dialog box needs to adjust the text "X" to be in the middle and the buttons Ok...
What i am looking for is very particular and might be pretty hard to code from scratch. But i hope someone has already encountered this situation and get some code hidden somewhere o:).
Some times comes a file has all the project drawings.
All frames on one layout (as attached)
So I wrote this simple lisp
(defun c:Mltiplt ()
(alert "make changes in next window \nthen...
i want a lisp or tool which can help me to draw multi leader with same base point to the different angle & length, but base point should be same
1. Basepoint- 0,0 angle-45°...
Is it possible to find out computer's name?
I need a lisp to type the area of a geometry by picking an internal point..
thanx for all
is there lisp routines can calculate total area of 3d solid box
I'm trying to filter out plines that are duplicates of each other from a list. I've been trying to compare 1 point in the first pline against the list of points from the other plines. They will...
When there are tow popup lists in a dialog , and we would like to get the value of the second popup list ,
the following get_tile function would consider the first list as 0 and the...
i have one lisp which works for assigning numbers ( e.g. 1, 2, 3)
but i want that assigning in NS01, NS02 Format,
Can anybody have any clue to edit it
plz reply soon
I am looking for a routine that will ask to select a centerline (multi-section polyline which includes arcs), then slot width, and generate a slot based on the centerline. My drawing sequence for...
Anybody has a function to replace point with comma in strings?
Just a few minutes ago, I found this set of both VBA and Lisp code to assign named page setups. However it is always returning me the error:
(psetup "PDF LEDGER") ; error: no function definition:...
I am somewhat familiar with AutoCAD and LISP but I was just presented with a problem and I have no idea how to begin to attack it.
I have a series of 500+ DWG's that all contain .bmp...
_$ (PUTPAGESETUP "101" "PDF LEDGER")
; error: no function definition: VLAX-GET-ACAD-OBJECT
I found the following code which reads named page setups ans supposedly is able to set it up, but when...
Is there a way to determine as to what object the dimension is "associated" with?
I found this lisp rountine and it loads layers into AutoCad from a .csv file. It works great for the most part but I'm having touble when I use the "Freeze" column it hangs up. I'm...
i need a lisp which can convert the layers from excel to autocad. please do the needful.
note :- the layers,colour and linetype are only given in text forum.
I am wondering if one of you beautiful people can point me toward the right direction!
I have this code:
(defun C:TEST ( / )
(setq LNAME (strcase (GETVAR "LOGINNAME")))
I want to use some points in my blocks in order to clear where the user can start lines from? but I want this points to be clear, how do you work with ddptype via the lisp? I tried "-ddptype"...
I am trying to set up abill of materials for pipe iso using Bcount or lisp "Count" (lee Mac ) do I have to set the table for every iso?
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–2013