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.
Is there a way to plot to a pdf file with the same name as the drawing in
I want to pick a group of points with a crossing window and export all points coordinates in txt or excel format ,how can I achieve this ?I want to find an easy method to achieve this .who can help...
My drawing has differnet type of entities (Polyline (closed), circle, line, point) and has xdata attached to it.
xdata INDEX a unique value. I am trying a code to delete a entity according to...
To keep better track of what is being worked on for how long
Open drawing sets
start timeClosing drawing ends timer
Log file is edited to show the drawing name, date opened,...
The problem I have been having is trying to find a way to select all the polylines on my drawing, and then to turn the Ltype Regeneration to "ON" on all of them. I have a little...
I don't know if this is a customization question per se,
but here goes...
Definitely not a lisp routine!
Suddenly my graphics in Autocad 2009 look very Microstation-like.
All my text and lines...
I have a routine that changes text justification to
Middle Center. It works fine if TEXT is selected.
<Thanks to those who helped me with the code!!>
We cannot use MTEXT so if a piece of MTEXT...
I was given a drawing that represents underground fiber communications for a very large area. I am just using the drawing as reference and had designated a linetype for these as -UC- the issue is the...
How I can put each excel column to linear array ?
How I can put each excel raw to linear array ?
for example 10 row and 4 column
I have to select the objects by crossing and it will select only the layers "girt" and "girt_text" in a single line.
My below code is not working.
(ssget "c" first_cor...
I am doing an application to get selected circles center and radius.
Actually i have finished this. But the problem is It is showing the center point if i move the circles only.
have a custom tablet menu that was done for AutoCAD 2000 and want to use with 2009 and when I load it all my menu Icons turn into a question mark and are no longer readable. How can I get the...
The company I work for is upgrading 4 workstations. So I'm going to have to set up Acad 2010 on each machine to access a common set of folders on our network to get blocks and routines.
I am trying to find the cosine of an angle expressed in degrees.
(cos ang) only provides this in radians. How would one go about
converting this to degrees or is there another way?
I often need to perform offset of objects existing in xref drawings. for that I have to first draw line/pline etc along the
xref entity and then offset that new created line etc.
Is it possible to...
I have a bit trouble with this
I try to get Polyline properties from Cad pass to Excel by:
1. Macro Capture (Right click Popup Menu from Excel > Capture) to select Polyline in Acad....
I am trying to do a solid hatch on a simple polygon with ENTMAKE.
Any idea why the following sequence does not work?
(setq layername "0" x1 0.0...
At the end of a project we submit all the cad files to our clients. Prior to submitting the files we have a batch (.bat) file that loads a scrip (.scr) routine that in return runs a lisp (.lsp)...
I missed my watch window in VLisp Editor. How can i bring it back.
When i used add watch, still it is telling that "watch space exceeded".
I have reinstalled...
How can we run a program in LT version. (lsp, vlx or dll)
Anybody have a code likes hide and unhide entity like Lisp
I have an old script, made with excel, that is not working properly. Is about drawing ground profile (for
gas pipe).The problem is that the author of the script is gone, and i need...
I want load a vba routine directly by loading a vlx file . is there any way that write a small lisp file for calling vba code and then compile those in a vlisp project and make a vlx file ?
Hi people 8),
I have created my very first (draft version of course) DCL, and I am wondering how to show it, nothing fancy just appear, I then obviously want to move on to extracting the user...
I have created ribbon tabs with panels for my office. The icons I used are bmp files. They look fine on my machine but when i load the cuix file on another machine the icons are surrounded in...
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–2015