You should just be able to use the "-attedit" command. It can be used within a script; you can specify the tag prompt and then the new value to be written, i.e.:
-ATTEDIT
N (edit attributes one at a time)
N (only attributes visible on screen)
(block name, if known)
(att tag spec)
(att...
The best thing would be to just search for AutoCAD tutorials in a search engine, or get some books and read everything. Also you could just open up AutoCAD and have a look around and experiment with everything.
The time its takes to learn depends upon the individual and want they want to do...
HI,
I have not used ABS-2004 but some of our add-ons to Autocad require a support path first(to be first in the list of paths), and then menuload, and then a Autocad restart.
Just a thought.
Hi,
Yes you can, there are many ways, but the way I do it is:
1)Type -layer on the command line.
2)-Choose the ? option to get a list of layers.
3)Press F2 to open the Text Window.
4)Select the layer list. Right-click and choose Copy.
5)Open a text editor such as Notepad and Paste, then...
HI borgunit,
I am getting an error:
; error: bad argument type: numberp:
I have been tring it as follows,
(XSTR (fix (/ XSTR 2)) 2)
I am tring to overwrite "XSTR" which is either odd or even, with a new "XSTR" value which is only even.
Can you tell me where I am going wrong.
Hi,
Can anyone tell me how to convert odd numbers in to even numbers in LISP?
I have a lisp routine which returns both even and odd numbers (0,1,2,3 up to 9) and I need to return and function that will round the figure down to the nearest even number, e.g.: 1 to 0, 3 to 2 etc.
Can anyone help...
Hi,
Thanks
CarlB - I think that as there would be over 35 new support paths it would make autocad slower as it would be searching through these paths for other commands?.
Estassoc - I idea of the Routine is to xref the correct file without the user doing anything but selecting the area.
Thanks...
Hi,
Is it possible to convert a LISP routine in to VBA routine? I have only a little knowledge of LISP and VBA. (I understand what it’s doing, but I am not sure how to write it)
We currently have a routine that inserts XREF's of OS mapping in to a drawing by the user selecting a point on the...
Hi,
Does any one known how to extract the start and finsh X,y coords and total length data from all polylines in a drawing and save data in .xls format?
I think it can be done through Lisp or VBA routines but don't know how, any help would be great.
Thanks
Dan
Thanks guys,
Estassoc - thanks I sent you what a need, hope thats ok.
IFRs - A Custom line type is no good as I need text by the chainage mark saying what the distance is (ie. 100m, 200m etc) so it needs to be intelligent - thanks anyway.
Hi,
I need a lisp routine to create chainage marks along a polyline - does anyone have one or know where a can get one from?
I need to be able to specify the Start chainage (text), interval, prefix, scale and precision - I think that’s it.
Thanks
Dan
Hi Borgunit,
Your second idea seems to be what I am looking for, but it does not work (acet-file-dir is unknown) - I guess I have the wrong version of expressTools. Anyway is there another to do a recursive search?
Not all the folders are in the search paths as there are quite alot of folders (20+) and it I put them all in the search path it would then make autoCad run slower.
Hi borgunit,
No - I want the lisp routine to search through a number of folders and find the correct block to insert (by name).
Hope that makes it a bit clearer.
Hi,
We currently have a LISP routine that inserts our OS-map drawing tiles - It works by us clicking on screen the area where we want the mapping (coordinates) and it then inserts the correct one.
However it only works from one Folder, so is there a way to make it search through multiple folders...
I am using AutoCad 2002 with Map6 and would like to know if there is anyway of copying all of the Object data assocated with one object to another?
Thanks...