Search the Community
Showing results for tags 'folder'.
-
HI, I need to create a Lisp to do the following in a series of drawings within a folder and then save as a new file. Superflatten entire drawing. Audit and fix errors. overkill entire drawing Convert all. Purge all. Remove Hatching. Remove DIms....
-
Newbie question I need to strip out the main root from the directory path. I use this to get the path: (setq dfil (getfiled "Directory listing" "" "dwg" 2)) (setq Filepath (vl-filename-directory dfil)) This returns for example: "C:\\Blocks\\2dlib\\Cars\\Plan" How do...
- 5 replies
-
- folder
- directories
-
(and 1 more)
Tagged with:
-
Lisp to replace attributed blocks in dwg files on a folder.
CafeJr posted a topic in AutoLISP, Visual LISP & DCL
Hi Guys, Someone knows a Lisp used to replace a internal block(s) of a folder with dwg many files. Eg: The specific folder has a "n" files with A3 formats blocks using the same attributes and tags, so, if it's necessary do a correction in a little detail in this format, it's necessary to rep... -
Part file location in title block?
andrewmmccallum posted a topic in AutoCAD Drawing Management & Output
Hello, I’m trying to save myself a bit of time and was wondering if it is possible to have part of the file location displayed in the title block? The current title block we are using shows the full file location of the drawing but I was wondering if it is possible to show only part of this?... -
Is it wise to load all LISP codes at ACAD startup?
khoshravan posted a topic in AutoLISP, Visual LISP & DCL
Maybe it is better to ask the question in this manner: What is the best way to manage the LISP codes and know when to load which code from which address. Maybe it is not wise to load all codes at ACAD startup as it is related to loading, I can assume it consumes bits and bytes and make the prog... -
Hello CADTutor members, I found a code by Lee Mac to open a folder by AutoLISP here. The code follows: (defun MT-Explore (Directory / Shell result) (setq Shell (vla-getInterfaceObject (vlax-get-acad-object) "Shell.Application" ) ) (...
-
Highlight a file in a folder by AutoLISP code
Ahankhah posted a topic in AutoLISP, Visual LISP & DCL
Hello CADTutorians, How can I highlight (select) a file after opening the containing folder by AutoLISP? -
Hello everyone: I'm updating some old code of mine and I want to get ride of using the shell command, you know why. I need to create a folder, this is what's written now to create the folder num_br: (setq commd (strcat "md " "