Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/29/2025 in all areas

  1. Most if not everyone on here have fulltime jobs, a few may be retired/semiretired. I have a full time job drafting/designing, so coding is something I do to help myself, when I can I help others, at the end of the day I have to get my drawings out the door. Like I stated, you will have to keep tightening the parameters and reducing the amount of the drawing run each time. The only way to get a customized, do it all, routine, will be to wait on someone here to be able to get to it, learn to adjust similar codes yourself, ask at The Swamp and/or Autodesk Forums (maybe some one with more time on their hands will give it a shot), be sure to link this thread and any others or pay a LISP expert to custom write you something. I removed about 52 plines, I ran a few sections at 100 (default) and 1 for the fuzz, then ran the entire drawing. Was fast on the small sections and a minute or two on the entire drawing. You may only need to keep selecting different parameters and selecting smaller areas for speed. Just read the entire thread like already suggested. I have to ask though, where are you getting these drawings that have all the extra pieces? Dpted LWPs_Overkill_MR.dwg
    1 point
  2. @PGia This is why I said to study complete topic : to force you to mod. *.lsp you find useful to make it suit your needs... To be honest I don't quite understand what you consider operationaly appropriate that needs to be modified in (c:OVERKILL-MR) to suit your needs...
    1 point
  3. FWIW, to avoid localisation issues, use the underscore command prefix ("_") when supplying commands and command options in LISP, e.g.: (command "_.-insert" ...) Here: "_" means use the English command name, independent of the localisation of the application in which the program is being executed (i.e. (command "_LINE" ...) will always issue the LINE command in any language-version of AutoCAD, regardless of the translation of LINE). "." means use the original, non-redefined, version of the command (i.e. even if the user has redefined the LINE command, (command ".LINE" ...) will use the original version of the command). "-" means use the command-line version of the command (where available). The "_" and "." prefixes can be combined in any order, e.g. (command "._LINE" ...) and (command "_.LINE" ...) will have the same effect.
    1 point
  4. P.S. On busy drawings even AutoCAD's OVERKILL can take quite some time, so get in a habit of starting with small sections that overlap and tweak the settings for optimal results plus speed.
    1 point
  5. Works just fine and fast on my AutoCAD 2000i at home and AutoCAD 2026 at work on the first drawing. Your second drawing I set "number of segments..." to 10 and "fuzz..." to 1 and ran it on sections. Seems to me the issues are 100% on your end. Are you using AutoCAD 2015 on Windows 10 or 11?
    1 point
  6. If you convert your dcl code to lisp code then you don't need a file name. You use the "fname" for the file name temporary dcl files are made, these should be auto deleted and I make sure I do a Vl-delete-file after closing the dcl as a extra step. (setq fo (open (setq fname (vl-filename-mktemp "" "" ".dcl")) "w")) The mktemp will make a new file every time you run the dcl code so no 2 files have the same name.
    1 point
  7. Try replacing (command "inser" insertname pt0 "" "" "") by (entmake (list '(0 . "INSERT") (cons 2 insertname) (cons 10 pt0) '(41 . 1) '(42 . 1) '(43 . 1) '(50 . 0)))
    1 point
  8. Just a tool I had already, if it looks usable, it can be modified. Explode the region, and make lines that could be pedited, it uses the current layer and makes the regions red. Just going off the information given so far, the drawing posted was simple. Are you using AutoCAD 2015 as shown in your profile? On my 2000i at home, THIS CODE BY @marko_ribar worked, with 1 fuzz factor.
    1 point
  9. Study complete topic posted here and maybe you can use my (c:overkill-mr) to remove unwanted polylines-splines... Here is link : https://www.cadtutor.net/forum/topic/49715-i-need-overkill-and-ncopy-please-help-me/
    1 point
×
×
  • Create New...