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.
I've tried to define an attribute with LockPosition on through dxf code and does not work.
(entMake '((0 . "BLOCK") (2 . "PunctT") (70 . 2) (8 . "0") (10 0 0 0) (6 . "ByLayer") (62 ....
I use command "FLATTEN" can't reset Z axis to zero.
I use LISP ,but it's too.
(defun HH:vlaZto0 (ss / E N OBJ P1 P2)
(defun MoveOne (e)
This is the effect of need :
But, the reality is like this:
Would also like this :
Hi guys! I need some help !
What is my goal: to select multiple dimensions entities and obtain the sum os all of them. In the image below i should be albe to select the 2 dimensions and the result of the...
I have a fairly simple LISP program which automates a task we're doing in this office. Basically we open up an old drawing which has everything in the model space and we do some magic on it to make...
There are many lisp like these out there but none of them will break any type of line with a different Z value than the line that I use as the break point. Mapclean will work but I have to use this...
hello dear all
:(I'm seriously starting to learn, My question is what programming language for AutoCAD is a more practical and which would you recommend?(autolisp or visual lisp)
thanks for help me
Is it possible to carry out matrix operations in Alisp/Vlisp (say 50x50)?. If not is it possible to import such a thing from excel as a table and then access individual values...
Can I convert user's input feet and inches to inches as shown in above sample.
any idea how to get text height when i picked single line text
hello dear friends
iàm looking for the lisp version of this diesel expression:
It gets the last character of the filename....
Hi dear friend.
1 step. pick a line (or pline) ,Enter the Offset distance.
2 step. pick a line (or pline) ,Enter the Offset distance.
3 step. draw a circle with center line ,the layer...
ive foud this intersting thread for p&id program . i dont get how to make it work .
Hi, I'm wondering, how can I make my lisps show like simple AutoCAD commands, where you can click on the option. The image bellow will show what I'm talking about.
You can click on the 3P, 2P...
Hi , i am trying to extract station and elevetion from 3d polyline to txt file
Important : For the station i need only Horizontal distanse not slope distanse
(i need this file to use it for...
Acad drawing is available with survey contour. Is there any autolisp or codes which will find elevation of intermediate unknown points from nearby contours.
Hi dear friend.I need some help.
Draw circle with polygon
1 step. Choose closed object ,Must be a polygon.
2 step. Enter the Offset distance .
3 step. Enter the the diameter of the circle.
How to do presentation for building vertically method statement to client, got somebody can help, thank.
I'm inquiring to see if there's a LISP roaming around that allows you to select equally spaced 2D objects (usually identical objects) then stretch them along any axis with the cursor, maintaining an...
I found a lisp to remove the standards (thanks Lee Mac) but would like to do the opposite.
code to remove
(defun c:test (/ DictObj)
(if (not (vl-catch-all-error-p
I started to use this code :
(Defun c:foo ()
(strcat "explorer /select, "
Hi eveybody, I would like to replace the value of an attribute with a tag like "Att_11" in every block that has that attribute. The current values to be replaced may be different in any block. I...
(command "setvar" "dimzin" 0)
(setq ucsname (getstring "\nPlease enter the current ucs name: "))
(command "ucs" "restore" ucsname)
(setq e (entsel "\nPlease choose an object:...
Hello to you all,
I was wondering if this is possible (or maybe it's too basic and I'm not seeing it):
I have some LISP code with a WHILE loop on it, during this loop, a number of objects are...
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