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.
The source of the problem is a helper function drawportsegment:
(defun drawportsegment (loc portspacing / portw porth test)
I'd like to search all of my blocks using autolisp to find any with linear parameters. I can get a list of blocks but don't know how to specifically search for linear parameter.
I want change 3dsolid color(color not same) ,But too many 3Dsolid objects (>300) ,
SO, Can use lisp change 3DSolid color randomly ? (ACI) , It's possible ?
Hi there.. im new in the forum and in coding in AutoLisp... so im looking for a form in which i can extract a specific attribute from all blocks that are in a DWG and then this list write it in a txt...
We need custom program to extract coordinates from a multiple closed Polyline and the text available within the closed polyline.
Sample drawing and required output (CSV file) based on...
I have hyperlinks to attach with names like 360-001.html or www.website.com/360-001. I was wondering if I could get help automating the hyperlinking process for these blocks. So block with attribute...
Hi all I found LeeMac's awesome program "Dynamic Block Counter" that counts blocks.but my issues is that create a table.
Please have anyone can help me try to modification this lisp?
Thanks a lot!!
I hope I'm not embarrassing you.
You have already more than 16k posts in 5 years period of time,
Every post get your detailed explination
Im sure lots of members would like to know...
I have written a progam to make adjustments and add symbols, text to shapes and export data to SQL (ADOLisp nice set of DB connection tools works great) that are cut on a waterjet. when i hide the...
I am looking to split a dynamic block with visibility states into a series of blocks with a block for each visibility state. Can anyone help with this?
I've been given a lot of old scanned images like this:
I need to place all these rasters according to their...
I've tried several different ways to insert a block at a specific z point and have the hardest time doing so. I would like the x & Y to be where the getpoint is but the z to be at an elevation of...
I am not a lisp guru but occasionally I have been known to write some
simple routines to speed up my productivity. I use these all the time so
the have been tested.
Hello, I created a routine that allows me to create two horizontal windows but one of them is inaccessible.
As I can fix this ... ?
I would like to create polylines not using the command, have data point (1,2,3,4,5) as the attachment sketch and diameter bending.
How to calculate the start and end points of the arc...
I have a lisp that I am sure someone here helped with but it was the early days of my lisp journey and I never noted the source. Anyway, the variable are not restoring on completion. Can...
I need to strip out the main root from the directory path.
I use this to get the path:
(setq dfil (getfiled "Directory listing" "" "dwg" 2))
I recently posted a request for tool palette sets.
Although I received excellent advice. I was unable to get it working.
In anycase, I would like to know if there is anyone who could write a...
Hi. I need help with a lisp.
This lisp change layer to attribiute blocks.
When the root start ask me to "Specify Layer name :"
All the times i have already create this layer before run this...
I'm stuck and cant find a solution.
I'm writing a lisp w/ DCL that will draw tee supports. I've got the list to show up in my DCL, but when you select a steel size, its not setting any values that...
I need some help with XREFs and wipeouts, when using an xclip and the referenced drawing has a wipeout in the drawing the zooming does some odd things. We have set our INDEXCTL to 3 and we...
Hi lisp masters, i need your expertise guys.
I need someone to re-create this protected lisp.
(i dont want to deprotect it but remake/recreate/rewrite with the same functionality).
try the lisp.
I have found the attached codes to select blocks based on matching visibity state. which i have slightly modified so that it always assumes the visibility paramter is called the default "Visibility1"...
I have to rename ridiculous Image reference names in multiple drawings. e.g.:
"GAMBA POST MATTRESS INSTALLATION SURVEY WITH...
*Disclaimer* I'm not sure where this code came from, it's probably hashed together from several forum posts.
I'm working on revising this layer renamer that didn't quite work. I've got the dialog...
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