Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. CADZealot

    Automatic Layouts creation

    Hi Maratovich, Thanks for your suggestion. I have tried already.it's working with only one viewport on each layout.but there is two viewport in my layout. Also i want to create layouts automatically.(without opening any dialogue boxes). Thanks.
  3. Today
  4. abra-CAD-abra

    Rotate specific block to zero degree

    Another one from Alanjt:
  5. ScoRm

    Lines to Search in Excel

    Update: It Runs Smoothly!, I used the Version2 (ktbjx's Suggestion), He does have a point, the version1 is good when i have 10K or 20K lines only, because it has a small chance of getting the same SUM with 2 totally different lines. But it's bound to happen when we're talking about 100K above. ktbjx's suggestion was to concatenate all 4 values into 1 so it will be a unique string... But both seems to run fast! well, im testing it on 50K here and its fast! Just a thought, Can it be done without the excel window showing? Its kinda redundant seeing the data in the dialog(which is the only thing i need) and having the excel window showing too in the background. I have this impulse to click it and see if the data is there, then i know that it is there lol!
  6. Yesterday
  7. rlx

    Lines to Search in Excel

    Thanks BIGAL , think most of my time went to the interface. It allways bugs me when I see something that doesn't look or feel how I want it. Well, lights out for me... gr. RLX
  8. dlanorh

    Polyline length to attribute value

    I know, but sometimes attributed blocks have invisible attributes or visibility states with hidden attributes, and you can't pick what you can't see.
  9. rlx

    Lines to Search in Excel

    Here in NL its just after midnight so while you are going to work I'll be soon be going to bed. Have also included a version with all coordinates concatenated , see if it works better / faster. Only way to find out is testing it on the real deal... While knowing what the future will bring , I still hope my parents will live forever but sadly that's not how it works... Goodluck with your project golddigger , euh goldfinger if you have any problems or questions let me know. think I'm gonna cash in on some of my overtime hours tomorrow gr. RLX GoldFinger.LSP
  10. BIGAL

    Lines to Search in Excel

    Nice dialogue.
  11. ScoRm

    Lines to Search in Excel

    I just got here at work, i am excited to try this right away! by the look of it, its more than i asked for. I am so thankful for you! thank you so much! And I know the feeling, I still have my grandfather with me who practically raised me. Take Care of them, you'll never know how much you missed someone until they're out of your life
  12. dalnorh you can use nentsel you can pick an attribute get its tagname, you reverse engineer it and pick block at that point, so can pick attribute 1 block1 attribute 2 block 2 and dont need tagnames.
  13. BIGAL

    Write Vertical Curve Data near to curve

    Check out www.lee-mac.com "polylineinfo"
  14. @marko_ribar Yess. Thank you very much for your solution.
  15. (defun c:selnamedpstyle-Style_1 ( / dict stename ss ) (setq dict (dictsearch (namedobjdict) "ACAD_PLOTSTYLENAME")) (setq stename (cdr (assoc 350 (member '(3 . "Style_1") dict)))) (setq ss (ssget "_X" (list (cons 390 stename) (cons 410 (getvar 'ctab))))) (sssetfirst nil ss) (princ) ) HTH., M.R.
  16. @marko_ribar Thank you for your answer. Here below are the results. ;;1 (vla-get-plotstylename(vlax-ename->vla-object(entlast))) ;;Return "Style_1" ;;2 (cdr (assoc 380 (entget (entlast)))) ;;Return nil ;;3 (cdr (assoc 390 (entget (entlast)))) ;;Return <ENTITY NAME: 2a253790> ;;???
  17. Look into DXF 380 and 390 group codes...
  18. Hello everybody. Considering PSTYLEMODE=0 (use of named plot style tables), how to select with AutoLISP all entities in current working space based on PlotStyleName criteria? Thank you in advance.
  19. Tharwat

    Website feature

    Many thanks, and for sure your hard work on the forum is highly appreciated.
  20. CADTutor

    Website feature

    Yes, that has been on my "to do list for a while. Unfortunately, it's not a simple fix but I will see what I can do. As for going back to the old software... sorry to disappoint you but we will be sticking with the current platform. I do understand that some of our legacy content has suffered in the transition and I'm not happy about that, but if you have specific examples you would like corrected, I can do that. The new platform is more secure, more modern and more flexible. There is some new functionality I will be adding in the near future that I hope will make the transition worthwhile.
  21. rlx

    Lines to Search in Excel

    hope I haven't forgot any more (defun void (x) (or (null x) (and (eq 'STR (type x)) (eq "" (vl-string-trim " \t\r\n" x))))) both my parents are still alive but at an age where every new day is bonus but you know the inevitable will happen , sooner or later... made a second version for the dialog (in case anybody gives a ) attached updated version of lsp (with void and dcl subs) if anythings missing , let me know... RLX GoldFinger.LSP
  22. ktbjx

    Lines to Search in Excel

    I added the code you gave, i dives to another error lol error: no function definition: VOID OMG! is she okay??! I hope she's fine forget about us for a bit, take care of her!!
  23. rlx

    Lines to Search in Excel

    sorry , just had a major medical emergency at my parents house (something wrong with my mother) and I am just back from hospital (situation is stable for now). probably routine is missing the following (defun Save_Dialog_Data (%tl) (mapcar '(lambda (x) (eval (car x))) %tl)) (defun Reset_Dialog_Data (%tl %rd) (mapcar '(lambda (x y) (set (car x) y)) %tl %rd)) (defun Set_Dialog_Tiles (%tl) (mapcar '(lambda (x / v) (if (eq 'str (type (setq v (eval (car x))))) (set_tile (cadr x) v))) %tl)) hadn't noticed this because I have more routines that use these functions so they are always loaded one way or the other. RLX
  24. ktbjx

    Lines to Search in Excel

    error: no function definition: SAVE_DIALOG_DATA the GUI opens and close
  25. rlx

    Lines to Search in Excel

    whatever makes you happy bro
  26. ktbjx

    Lines to Search in Excel

    Can i Borrow your Code to modify for my needs in searching lines with excel too? I'v been looking for this.
  27. rlx

    Lines to Search in Excel

    here is the latest version so far. You can test it with example drawing & xls file posted earlier by OP . GoldFinger.LSP
  28. rlx

    Lines to Search in Excel

    well , the theory is (my still to be proven theory) that with four digits accuracy the sum of the digits will create a unique number (checksum). Of course I can make index algorithm selectable with a toggle so in case it does fail you can use the golden canon instead of the golden gun . I have the routine fully functioning now , including writing the data. Only considering a minor change to the dialog design and put the fields that need to be written to the excel file (Au , Ag & ID) in a seperate boxed row.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×
×
  • Create New...