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'm new to using macros/lisps in AutoCAD, though I do have a small programming background in some other programs. To give you some background on what I'm trying to do: I have a big...
Hello, can someone help me with a lisp I have a block which I want to place (block) on both ends of all lines using lisp I have also attached image showing the same for better understanding ...
Hello, I'm new to the forum, I would like to ask you for help. I need a program / application (LISP) which will insert a deviation dart and a distance from a point to a straight line. More ...
Hello Hello i have simple question. How to calculate values shown in the attachment (polyline) using LISP?
Hi, I want a LISP routine which can insert blocks along the polyline. I have two dynamic blocks. They are 'Straight Duct' and 'Elbow90'. Consider I draw a polyline with three XY coordinates i.e....
BLADE Presentation by Steve Johnson - Brisbane 19 April 2018 https://t.co/vVrLcLEyTI
Hello Everyone. I have a Lisp to rename the Layer by Part of Layer name. but the code is not working. (defun C:Test() (if (setq xlay (ssget "_X" '((8 . "*_Proposed_*")))) (command "-layer" "r"...
I need a code to edit block insertion point without any changes to other settings.Please help.
Hi i required a lisp to draw a poly line along with 2 closed poly lines. If i pick 2 vertexes on 2 polygons, 1 new poly line should be created between these two points along with polygon walls. can...
Hello All, We have been using a lisp program which runs on the .dxf or .dwg exported from the Design engineer to create additional detailing and extract the quantity with our existing lisp (design...
Hi guys, Today I had to save as multiple dwgs into a different dwg version and I ended up with this: Batched it quickly ( I hate/try to avoid using browser dialogs, when I don't have to ) : ...
Batch Find & Replace Text This program uses ObjectDBX to perform multiple text replacements on the current drawing or a complete directory (and subdirectories) of drawings. The program has the...
Hello As you may already know i am new to the forum, but not so new to autocad (been using it almost for 10 years), but i am really new to this autolisp world (and vba for that matter), i am...
hi all, i need a lisp program to isolate layer by select polyline, is there a direct code to isolate by autolisp or i have to use function??
Hello all, When using the find command, is there a way (i assume there is and Im missing something) that i can do the following. Lets say i have a drawing full of numbers, wire numbers to be...
When we insert a dynamic block to a difference X Y scales, the visibility state does not functioning.Is there any lisp codes to reset the visibility states.
this is probably super simple but can't find the answer: (setq apr (vlax-ename->vla-object (entlast)));#<VLA-OBJECT IAcadRegion 000002c2d9920cb8> (vla-put-Normal apr '(0.0 0.0 1.0)); error:...
Hello, I need one help to do a LISP that can execute it: get one irregular area, and split it according a specific aredea defined, like, 100 m², and I need to split it in 25 m² (I know that it...
Hi all, Ok so I have this small lisp and I'm still learning on how to work with these. I have the following code. It works fine for one time and then I have to retype "RBB1" because if I right...
Hi, I was just wondering if there is a button or command to set Hatch Inherit Properties? I don't want to do the whole Match Properties because that is really tideous if you are dealing with a lot of...
Hi, I have a dwg with a bunch of the same block in it (called Cabinet). This particular block has a number of visibility states. I have assigned an attribute (called SetVisState) to the block...
Hello together, I thought I have a simple task to perform, but unfortunately it turned out to be more difficult than I expected: I have in my lisp a code to select all elements in a drawing...
All, I was wondering if anyone else was having a problem using Lee Mac's "Add to Block " on a dynamic block? Recently our title blocks have changed over to dynamic and now I cant use "Add to...
Hello, while I was looking for ways to copy texts, I came across this topic http://www.cadtutor.net/forum/showthread.php?87782-Are-there-a-way-copy-and-paste-via-clipboard-by-lisp where I found...
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.
Forum Rules