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 everyone, I've been trying to figure this out on my own, but I can't seem to do it.
I have drawings where polylines are linked to a SQL Server database. I'm trying to write a command in...
i need an automatic time stamp for when i edit a block. i tend to use the block over several drawings and can't always keep each dwg up to date. is there a variable somewhere that inputs the edit...
Maybe an easy one...
If I use the command "break" to break a line into 2 entities,
then how can I capture it into 2 new separate variables.
If I use (setq e1 (entlast)) it will only return one...
Is there a better way than?
(command "_.plot" ;;and a bunch of ""
If so, please point me in the right direction
Does anyone knows a way to perform a stretch command but instead of stretching in rectangular dimension, rotate them around a center point with a number of degrees.
If there is a way...
I have the following query. I have been the task of finding out what possibilities exist and how much effort would be involved to do the following.
From an excel table where the user...
Is there an easy way from the command prompt: to make a new layer and move ALL to that layer. I would be using a programable keyboard to run the commands.
thank you for your help
I'm looking for a lisp to test if an element is repeated in a list and how many times.
(A B C D A 1 2 12 2 XX)
A = 2
2 = 2
I've written this but ...
i have a problem with filter commond ,it says, it is not installed in support files, i pasted that file again from cds,but it eas useless. what shall i do???????8)
Dear friends, How can i solve this errorr
error: Automation Error. Object was open for read
when it breaks at the following code
(vla-settext atable row 0 (strcat "HR-" (substr piece_mark 2...
I sometimes recieve information with 100ds of blocks.
Those blocks are in layer1 but the text in them is written in layer2
So, how can I change globaly that text layer (layer2) in the...
This works good but, I would like to have the 2 objects rotate clockwise..not Counter clockwise
(defun c:90R( / e f p a b c i)
(setvar "cmdecho" 1)
(setq e (vlax-ename->vla-object...
Any one could explain to me how could Lisp file read data from Excel file and invest them as data to command line.
And how could chose the needed cell to getting data from it ????
How does everyone share lisp routines with coworkers? I'm trying to find the best way to do this. I've just added to the Startup Suite but it becomes a pain because as I learn more I have update...
Is there an alternative to the FIND option?
Objective Would Be:
To locate ATTRIBUTE TEXT (ie: a point number) within a drawing,
then ZOOM to it as optioned within the FIND option.
I have been struggling the past days trying to accomplish the following:
I have an exisiting block definition (blockname could be: "ParentBlock1") in this block is inserted a another...
I have a problem with my set of drawings, most of the text are in German language, is there a lisp where in it will automaticall convert into english language.
I am working on a lisp which draws some entities (collection of lines and arcs which are connected end to end and with same z value) and then performs fillet on them.
I searched on...
I wonder when can I use this command since that I can use 'pause' individually within lots of commands ......???
Any suggestions !!!!!
I started having a problem recently where none of my lisp routines will work, they "LOAD SUCESSFULLY," but nothing after that. I've tried the pulldown menu, typing in and using the icon, nothing is...
ssget function displays "select objects: " prompt. I am writing a lisp which prompts user to select blocks in the drawing. For this I am using (ssget ":s" (list(con 0 "INSERT"))). Before...
G'day, I do alot of calculations using the area and perimeter of rooms so i'm trying to produce a lisp to spped up the process. My initial idea was to draw a polyline around the room and then create...
New to the forums, old to CAD, might as well jump right in with my problem.
I recently found this amazing lisp app by ASMI (AsmiTools_Renum.lsp)
while i find this app very useful, there...
In acad 2008 how can I export a custom toolbar i've created and the associated comands (the lsp/dvb files are copied separately)? Eventually I'd like a way that offers me backward compatibility at...
Anybody can help LISP to change all (arrows) PLINE-start segment width in total drawing.
Plz find sample drawing jpg
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