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 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...
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 ) : ...
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...
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"...
Hello can any one help to draw the shape as in attached image
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...
Hi all, Does anyone have a script that will take all DTEXT and MTEXT objects in a selection window, and export them all as a separate line in a TXT file of some sort?
Hello everyone I try to make code to read data from .txt file and fill to object data table in Autocad Map, but it was show ???????? Cloud you please help me?
After the last six months using full Autocad I have finally taken the plunge into Lisp (there's still life in the old dog yet) So here is my first efforts it's actually designed to help me in...
Dear coders I am trying to include " when using strcat Afaik you need to use \ or / in combinatiuon with extra " to get "something here" when using strcat So I want to do this
Hi All, Not sure if this is possible but I'm looking for a way to grab a block that is a block in one drawing and insert it into another drawing via a lisp function The scenario is that i have...
Hi guys, I need a lisp to l trim lines around texts - at a given value - to work this way: select texts or mtexts, insert value for distance around text, and trim all lines that intersect all texts...
Hi to all, Using overkill command is very great help in deleting some overlapping in the dwg. Is there a command or LISP that can delete any overlapped blocks(block with attribute)? Hoping...
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