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.
Where I work we transfer dwgs. with our client for every job so when we get the dwgs. in we have to manually log each and every one in and record various info.
I was wondering if it...
I stumbled across this website a while ago and regularly browsed it whilst I’m on my lunch break. I'd call myself a light CAD user as I do simple 2D fabrication drawings. I'm an...
Can someone help me find a lisp to find the average, min, and max of text with numerical values?
my mother language is not English
So,something I writed you will not understand easily.
I want some help,thanks.
those is what i want to do:
I need select parts of autocad's...
Hi all! (using Acad 2007)
Ok - I am inserting a block into a existing drawing. The block is basically a line with a 'X x' placeholder. Now each 'X x' is suppose to get replaced with text to...
Hi people,i'm a newbies in AutoLisp
and my script is pretty easy and i already make 99% of the work ,
i have a lot of text in my DWG file and i want to ouput the XY coordonate of each text(look...
I have been self teaching myself LISP, VL, and now VBA, for AutoCAD. Well when it comes to Visual LISP is there a way to "get" any properties or anything else from a drawing that is not the active...
i created a CUI macro to draw a revcloud
the macro draws the pline and dont apply the revcloud command
Hope everyone is having a nice Christmas so far.
Was just playing around with some LISP, and wondered why there was an irregularity in the way the LISP functions are named, for...
Another minor thing that has been bugging me for a while now.
What is the purpose of the single apostrophe?
I see it sometimes as opposed to "", but I can't see why... Are they...
Why is it that if I use one of the Express Tools LISPS (eg MPEDIT or TXT2MTXT) on its own there is no problem, but when I try to run them from within another LISP or a script I get a message saying...
All, I have a really good feeling that we are the only company that has run into the problem I am about to try and explain to you. AutoCAD really sucks when you try and print a drawing and when it...
Hi everyone, im wondering if theres a way in autocad 2007/2009, to be able to click on a straight line and autocad givoing me the length, without doing a distance and selecting the two end points....
I made a custom toolbar. On this toolbar I put a Polyline tool. When I click this I want it to automatically put the polyline in the assigned layer.
Is this possible? :)
From your recommendations I have started to try to use the Visual LISP Editor in ACAD, and, I must say, it does make it easier to identify code with it's novel colour-coding. 8)
id like a lisp that would add a band beam to a plan. the way i see it working is i select a grid, it offsets a line 1200mm to each side on a layer called concrete, and set to linetype "awthidden2"....
i have autocad2007 and autocad LT 2006 in my system i want to open dwg files in autccad Lt 2006 using vb.6 code.
i want to modify the above code and open dwg drawings in Lt
else looking for...
just tried to reload a lisp routine and i get this at the command
error: no function definition:c
can anybody help?
can anybody help me out with this lisp routine,
at the prompt:
error: no function definition: C
Tip2090: MARRAY.LSP Modified Array Command (c) 2006 Paul Hinds
(defun c:MARRAY ()
I have not written any lisp files for about 5 years so I am a little rusty.
I want to use a lisp function add a text box to a drawing with a few variables in it.
I have most of it working but I...
i am facing some problems to offset the polylines in two sides through lisp. i can able 2 offset the polylines in one side.but its difficult to perform offset in another side. the code which i have...
how do i load a lisp routine, can anybody help?
i tried do copy/paste directly in the cad prompt and it worked with a simple lisp routine.
is this the correct way to do it?
I really don't understand Reactors, and, before someone points me there, yes, I have already read the AfraLISP Reactor Tutorials.
I was trying to construct a Reactor based on the Layer Setting...
I'm a newbie here so please be nice :D
I'm looking for a lisp routine to use with MEP HVAC workspace. At the moment I can select connected branches and I can identify runs...
Ok, I have a block; we'll call "block X." Block X has many attributes, the only relevant ones for my next prog are "range" and "number". So the way this reads is there will be several block X's...
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