Search the Community
Showing results for tags 'lisp routines'.
-
Lisp Routine to make boundaries of selected objects
xxfaxx posted a topic in AutoLISP, Visual LISP & DCL
Hello I am new in this website. By new i mean it is the first time i make an account. I have been visiting this website for around 3 or 4 (maybe 5) years. I dont remember. After using autocad for over 8 years (starting in with autocad 2009) i sometimes start to think that i can not learn any...- 3 replies
-
- lisp routines
- bpoly
-
(and 3 more)
Tagged with:
-
How to get this LISP to add an additional 90 degrees to its rotate
msirois posted a topic in AutoLISP, Visual LISP & DCL
Hi there, You'll have to forgive my ignorance and I'm new to the whole LISP routine area. My work has this old LISP routine for rotating text which I modified to include MTEXT and blocks. I was hoping to change it solely for block rotation in another lisp routine. The way we have our blocks setu... -
Lisp to add prefix to Layer State layers
thefootyguru posted a topic in AutoCAD Drawing Management & Output
Hi all I need a lisp that adds a prefix to all layer state layers. So here is my situation, I work at a civil engineering consultancy who design mostly residential subdivisions. We have standard layers set up to keep everything consistent ie 'd driveway' or 'd back of kerb' ect and I have cr... -
I am sure there is a way, whether it be lisp routine, or feature already within autocad, but I have yet to find it. What I want to do is be able to take a point that represents a grade and determine the elevation along a line to another point representing a lower or higher grade. Typically I woul...
- 13 replies
-
- lisp routines
- interpolation
-
(and 3 more)
Tagged with:
-
find and replace text inside dynamic blocks (lisp routine)
djeetn069 posted a topic in AutoLISP, Visual LISP & DCL
I'm trying to find a lisp routine that searches the current drawing for a certain string and replaces that with the string of a variable already defined by the user (in this case the text to look for is "****" and the variable is called "offerte"). Not only in the Text, Mtext but also in the Blocks...- 6 replies
-
- lisp routines
- find and replace
-
(and 2 more)
Tagged with:
-
Lisp to plot multiple lines from a text file of start/end coordinates?
ktd27 posted a topic in AutoLISP, Visual LISP & DCL
We often collect ground penetrating radar data in a somewhat irregular grid of traverses at 90 degrees to each other (loosely east and north) and then put the information on a client's CAD basemap of the site. Our field notes consist of a line position and start and stop position for each line, so... -
I have seen this done in the past at other firms. I am trying to insert a block on a wall using only a pickbox (one step). I am fairly new to lisp routines. I can get the block to insert fine, but I then am having trouble with the rotation. I would like the pickbox to determine the rotation auto...
- 4 replies
-
- picking
- lisp routines
-
(and 2 more)
Tagged with:
-
Lisp routine to inert tag number text on to drawing in a box or rectangle
arbrier posted a topic in AutoLISP, Visual LISP & DCL
I need a lisp routing which does the following: -Pick a point -Draw a leader to a 2nd point -Draw a rectangle or preferable a box with rounded ends in which I can insert text -Maximum of 15 characters (based on current text settings) -Leader will go any direction depending on 2nd point, but tex...-
- tag
- lisp routines
-
(and 1 more)
Tagged with:
-
Automatic Rename Block with 'Part Ref decription'
lladoog posted a topic in AutoLISP, Visual LISP & DCL
Hello, I have been a lurker on these parts for a while, now i need help with a problem of my own. (I use autocad mechanical 2013) I have a cad drawing which contains 1000's of blocks, each with its own part reference within. As we use autodesk Vault and cad's design centre in tandem both the...- 5 replies
-
- part reference
- macro
-
(and 3 more)
Tagged with:
-
Hey guys. I have a LISP I wrote this morning that asks for an insertion point, grabs the layer of the object, then draws a MLEADER on an associated layer. I have it working completely, except when a block is selected. Can anyone take a look at the code and help out? Thanks in advance! (defu...
- 14 replies
-
- lisp routines
- layer control
-
(and 1 more)
Tagged with:
-
I'm posting this thread in the General Forum because I'm not sure where else to put it and being new to Cadtutor I'm still learning protocol. If I'm in the wrong area please let me know! Thank you! On to my question then. I've been reading through a large number of threads, not looking for...
- 7 replies
-
- lisp
- lisp routines
-
(and 1 more)
Tagged with:
-
Hello all I have a lisp routine which will load Layer states and I have assigned it's command to a button - each layer state is assigned to a unique name and a button is created for it - The lisp routine loads a specific .las file into the drawing. For that, I have created a folder with all *.la...
- 3 replies
-
- lisp routines
- layer state
-
(and 1 more)
Tagged with:
-
Hello, I'm an AutoLISP newbie and I need to iterate through a folder of .DWG files, running a lisp on each file one at a time with no prompts to the user. Can this be done in AutoLISP? Here is the lisp that will be run on each file: ;delete_layers_except (vl-load-com) ;(defun c:demo (...
- 1 reply
-
- lisp files
- lisp
-
(and 2 more)
Tagged with:
-
LISP to move selected objects to a specified layer?
Dan Kitchens posted a topic in AutoLISP, Visual LISP & DCL
Hi peoples, I've got a new challenge: Is there a Lisp that moves selected objects to an exisitng, specified layer? I want to be able to select objects on the screen, type in a short command, and they automatically go to a certain layer (let's call it "Layer 1"). Having looked everywhere...- 11 replies
-
- move objects
- lisp routines
-
(and 3 more)
Tagged with:
-
I am trying to develop a document control system for my drawings. I am currently using AutoCAD 2011 but will soon move over to 2012. My previous employer had a great system using an excel spread sheet to input details that would then be updated into the drawings' annotated title block using a .csv f...
- 2 replies
-
- document control
- annotated title blocks
-
(and 2 more)
Tagged with: