Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. Today
  3. What should be the type of line to make a line like in the picture? If you use the EQUAL line type, you get just two dashed lines. The line type "Divide" is set in the code? (setq lt "Divide")
  4. What 3D printer do you have? I just recalled, there used to be an APP at the Autodesk APP store, but no longer there, works on older AutoCAD, but it is also posted here at CADTutor and the Swamp. I use Bambu Labs and it comes with Bambu Studio which has a 3D Text that is very easy, I can do a custom name plate with text directly on the machine.
  5. @BIGAL — the Pipe offsets approach is practical — hardcoded OD values per size as named commands (P300, P450 etc) is exactly the kind of thing that saves time on repetitive civil work. Applies the offset and switches to Divide linetype in one shot. Clean for a site-specific workflow. The Fillet offset circle reactor is a nice trick — using :vlr-unknowncommand to intercept custom prefixed strings like F100 or O234 is a different approach than what I went with. Avoids the willstart/ended pair entirely by hooking into unrecognised input instead. Here's the core VLR setup from the Pro version for comparison: (vlr-command-reactor nil '((:vlr-commandWillStart . mpla-on-cmd-willstart) (:vlr-commandEnded . mpla-on-cmd-ended) (:vlr-commandCancelled . mpla-on-cmd-cancel) (:vlr-commandFailed . mpla-on-cmd-cancel)) ) The willstart handler snapshots vertex lists and widths of all MPL masters into a global cache (*mpla-master-cache*). The ended handler diffs and rebuilds only the groups that changed. Went this route to watch standard commands passively without requiring any special input syntax. Happy to share more if useful.
  6. BIGAL

    AutoCAD LT 2026 very slow to save

    Good to know about "Gstarcad 2023" some of the other CAD programs do have little hidden issues that pop up now and then. But to Cadtutor's credit it is not a one platform forum.
  7. Taking your example video this is convert a p/line to a drainage pipe written for civil road works, with most common AUS sizes. Needs linetype Equal the length of dashed is set to 2.4 which is a length of a concrete pipe. Handy for civil works. It is not dynamic. *EQUAL,_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ A,1.0,-1.0 Pipe offsets.lsp If you post here a VLR function can test. Fillet offset circle.lsp Have a look at "Fillet offset circle" uses reactors.
  8. Yesterday
  9. SLW210

    Quick String Search

    I doubt if IT would allow that either, I have it at home so might see how that would work out. I believe Ghostscript's txtwrite is improved and should be capable as well, as noted an OCR is needed for images, Tesseract OCR — The World's Best Open Source OCR Engine. There may still be errors in the conversions. I know Adobe Acrobat has issues at times, I haven't used it in a few months though.
  10. You have multiple locations using a redundant entget. (vlax-ename->vla-object (cdr (car (entget e1))) == (vlax-ename->vla-object e1)
  11. rlx

    Quick String Search

    Another way to get the text from a pdf is the AI option 'OCR text & table from Microsoft PC manager, normally just available in the US store. But if you have VPN or are a really good singer (Queen : Oh...yes , I'm the great pretender lalala.. applause , oh thank you , you're so kind) you should be able to get it. Open pdf , use button et voila... but its still manual labor
  12. X11start

    AutoCAD LT 2026 very slow to save

    In fact, I haven't updated my profile: I no longer use the 2012 version but I use Gstarcad 2023 and sometimes Autocad LT 2026 (subject of the question). I apologize to all of you for not having read the new posts anymore.
  13. SLW210

    Quick String Search

    Tried this out some yesterday, this will be useful for sure! The things we have to do to bypass security features that don't work. I remember in high school a few teachers would tell the kids that didn't make passing grades that the world needs ditch diggers, too. Now they probably say the world needs IT techs. Some of the things they do defy any sort of normal thought processes. I received a call last week, one of the main people that use my drawings called and stated they couldn't open drawings after IT installed a new computer. You guessed it, no AutoCAD. A normal person should see what was on the old computer that was necessary and needs to move to the new computer. At least they installed the software for the waterjet, plasma cutter, etc.
  14. This may help you set up for checking your LISPs Graebert LISP Extension[FLISP] - ARES Commander Partner Documentation - Confluence
  15. Thanks both for the honest feedback — exactly what I was hoping for. @pkenewell — appreciate the link, I'm aware of Lee Mac's MPLine and have a lot of respect for his work. His implementation is elegant and handles the core offset drawing well. MultiPLine goes in a different direction: DCL-based configuration dialog, per-line layer assignment, named presets that persist across drawings, and the Pro version adds a command reactor for auto-sync. Different scope rather than a direct replacement for what he built. Worth knowing about either way so thanks for flagging it. @BIGAL — fair points across the board. BricsCAD: honestly didn't design for it and can't make promises there. The reactor implementation in Pro leans on AutoCAD-specific VLR functions. Lite might load fine in BricsCAD but I haven't tested it — if any BricsCAD users try it I'd be curious to hear the result. On the "why pay" question: fair challenge. The free Lite version covers the core workflow for most users. The Pro is aimed at teams and daily-driver users who want auto-sync and a preset library they can share across a team. Whether that's worth $29 is genuinely up to the buyer — I'm not trying to oversell it. The package suggestion is actually something I've been thinking about. MultiPLine is my first commercial release but I have other tools in progress. A bundle makes more sense as a value proposition and I'll keep that in mind for when there's more to package together. One more thing — I've added the full .lsp source to the Lite download on Gumroad. Free to inspect, modify for personal use, and learn from. Thanks again for taking the time — this kind of feedback from experienced users is more useful than any marketing. Zlatislav
  16. BIGAL

    Quick String Search

    I know where your coming from where I worked last some 1000 pc's, we were lucky and had a good relationship with IT and could explain why we wanted something and most times they would go away and think about it, but approve and install, they would come to me to do the CAD installs, with the IT guy with me for user permissions. Each new PC was a "Hope it works" as they came preinstalled with corporate software.
  17. Just a couple of comments have this, type 2,4,-3,-4 and so on, draws multiple plines, as many as you type in one go.. Have a drag line over existing multi offsets and get all offsets and layers, so can make another pline without user input. Also what about Bricscad users ? Plenty of us here as well as other software. Oh yeah look at this image you draw a "WALL" that is multiple lines and on correct layers, predefined layers that are named in a txt file, so match what a user wants without editing code, won't go into how we made that work other than variable = layer name. Not sure that the task really warrants a VLX and a cost when there is software out there for the task and its free. I know from experience trying to sell software is extremely hard, as per draw house program some 130 lisps. Do you have something similar to the attached DOCX, showing what you have as say a package, most programs are free and open source some have a cost as need to be customised for clients. There is more scope for users to buy a package rather than just one program. Lisp files DEC 2025.docx
  18. I try to use foreach when possessing list. (if (setq s (ssget (list '(0 . "INSERT")))) (progn (command "-VIEW" "S" tempViewName) (setq chk T i 0 n (sslength s)) (while (< i n) (setq e (ssname s i) x (cdr (assoc 2 (entget e))) i (1+ i) ) ... (command "_zoom" "_object" (cdr (car (entget e))) "") (setq 1P (car (LM:boundingbox (vlax-ename->vla-object (cdr (car (entget e))))))) (setq 2P (nth 2 (LM:boundingbox (vlax-ename->vla-object (cdr (car (entget e))))))) turns into (if (setq s (ssget (list '(0 . "INSERT")))) (foreach ent (vl-remove-if 'listp (mapcar 'cadr (ssnamex SS))) (command "-VIEW" "S" tempViewName) (setq Name (cdr (assoc 2 (entget ent))) chk T ) (command "_zoom" "_object" ent "") (vla-getboundingbox (vlax-ename->vla-object ent) 'minpt 'maxpt) (setq 1P (vlax-safearray->list minpt) 2P (vlax-safearray->list maxpt)) repeat foreach for s1 with point list Should be (cadr 1P) not (car (cdr 1P))
  19. Last week
  20. As SWL says, what is the error? Where does it fail? That would help identify a problem.
  21. SLW210

    Quick String Search

    Nice job!
  22. https://www.lee-mac.com/mpline.html FYI - not to detract from your work, which I'm sure was extensive.
  23. rlx

    Quick String Search

    Before I used this : (defun GetFolder ( m / f s) (if (and (setq s (vlax-create-object "Shell.Application")) (setq f (vlax-invoke s 'browseforfolder 0 m 65536 "")))(setq f (vlax-get-property (vlax-get-property f 'self) 'path)) (setq f nil))(vl-catch-all-apply 'vlax-release-object (list s)) f) (defun wait (sec / stop)(setq stop (+ (getvar "DATE") (/ sec 86400.0)))(while (> stop (getvar "DATE")))) (defun findstring ( / a b c d e) (setq a (GetFolder "Select folder for string search")) (setq b (getstring "\nEnter string to search for : " T)) (setq c (getstring "\nFile extension (lsp) : ")) (if (eq c "") (setq c "lsp")) (setq d (strcat a "\\result.txt")) (setq e (strcat "findstr /i /s \"" b "\" " a "\\*." c " > " d)) (command "shell" e) (gc)(gc) ;;; natural delay for system to clear cache and write file to disk (alert "search completed") (startapp "notepad" d) (princ) ) (defun c:dfs ()(findstring)) (defun c:t1 ()(findstring)(princ)) This code only works for text based files. Have updated code in my first post with Excel support. Valid extensions are now lsp , txt , dwg , xls and xlsx I have a license for able2extract on my home computer and also written something that uses pdfattach and import for readable pdf's. Though I can take that route, it's not like shoot & forget , often more than one step is needed. But it is what it is... most pdf's I get are pretty poor quality , some by accident and some not because a 3rd party wants you as a returning client if you know what I mean.
  24. mhupp

    Quick String Search

    If the text is Searchable in the PDF. Windows Explorer will work. if the PDF is just an image then it wont work and have to use Adobe's OCR to convert them to be searchable. -Edit Tho not 100% some stuff come in weird like fractions or text between white space and pictures.
  25. rlx

    Quick String Search

    Yeah , well , I'm afraid to tempt 'the Gods' how much worse it can get haha. Big reorganization on its way and we hope things can only get better , but that's maybe tempting fate In the mean while got it working (I think) for excel workbooks too , but gonna have to post that later when I get home tonight. Clippy (the AI) told me without external programs like Adobe or pdf2text , its very unlikely I'm gonna be able to directly retrieve strings from a pdf. Since I cant install any software other than provided by the company that's not gonna happen. Only way would be pdfimport and pdfshx but that would defeat the purpose of this appie.
  26. dexus

    Quick String Search

    Nice work IT! They got you to spend hours trying to circumvent the limitations they forced upon their employees just to make it workable.
  27. I have moved your post to a new thread ARES Commander LISP not Working in the AutoLISP, Visual LISP & DCL Forum. Please use Code Tags for posted code in the future. (<> in the editor toolbar) Where did you get the LISP and what does it do? Do other LISPs run in your Ares Commander? What does not work? Do you have the Visual Studio Code and the Graebert LISP Extension for troubleshooting the LISP?
  28. BIGAL

    Quick String Search

    Have they locked Powershell also ? I use it at times. Converting the lisp code to .net would speed up searching the txt & lsp files, in lisp directory I have 1500+ lsp files. But chances are your admin has that locked.
  29. eh sorry i forgot to put the link
  1. Load more activity
×
×
  • Create New...