Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. thanks in advance for any help
  3. Hey everyone! I’m diving into the Best Friends Planet series and I’m a bit confused about the ideal viewing order. There are so many episodes, specials, and spin-offs, and I want to experience the story in the way that makes the most sense. Should I watch them by release date, chronological storyline, or is there a recommended fan order that enhances the plot and character development? I’d love to hear your thoughts, tips, or any guides you’ve used. Sharing your personal experiences would be super helpful too!
  4. Today
  5. Lee Mac

    A wrapper for ssget function

    (vl-catch-all-apply) is used to catch the error when the user presses Esc during the selection prompt, ensuring NOMUTT is set back to 0.
  6. NirantarVidyarthee

    A wrapper for ssget function

    I am aware that I am reviving a decade old post. But I found it helpful in understanding the wrapper function. As an example of good programming technique I am studying and exploring this function in more details. As a result, I have some doubts that I need to be cleared as part of my learning process: 1. What is the purpose of using (vl-catch-all-apply) function? I believe there are no errors that cause the (ssget) function to abort. So what error is this function handling? I am not very experienced user, so I may be missing some situations. 2. If I use (apply) instead of (vl-catch-all-apply) and comment the statement (vl-catch-all-error-p), I do not see any difference in the output. Am I missing something? Here is the modified function. (defun M:LM:ssget ( msg params / sel ) (princ msg) (setvar 'nomutt 1) (setq sel (apply 'ssget params)) ; (vl-catch-all-apply) replaced with (apply) (setvar 'nomutt 0) ;;; - Commented (if (not (vl-catch-all-error-p sel)) sel) sel ; Added to ensure return value ) 3. there is one minor problem. When using (ssget) if you start window selection and press enter without clicking second corner point an error message is displayed and select object prompt is repeated. In this function, the error message is displayed but prompt is not repeated causing confusion if the command has ended although selection cursor is displayed to know that the selection is continuing. Is there a way to re-display the msg AFTER the error message to avoid confusion? 4. A related question: I believe problem 3 is because the function (vl-catch-all-error-p) ignores NOMUTT. What are other commands / functions that are not affected by NOMUTT?
  7. Isaac26a

    Select all points on polyline

    I know this is an old thread but here it is my fifty cents attempt, I was looking for a created solution but had to complete it, thanks to all ;;; By Isaac A. 20251219 ;;; https://www.cadtutor.net/forum/topic/73414-select-all-points-on-polyline/ ;;; Point on Polyline 'ptopl' (vl-load-com) (defun c:ptopl (/ a b c d dw l oc os) (vla-startundomark (setq dw (vla-get-activedocument (vlax-get-acad-object)))) (setq oc (getvar 'cmdecho) os (getvar 'osmode) ) (setvar 'cmdecho 0) (setvar 'osmode 0) (princ "\nSelect the polylines that touch the points") (setq l (ssget (list (cons 0 "LWPOLYLINE")))) (if l (progn (setq a 0 ) (while (< a (sslength l)) (setq b (entget (ssname l a)) c (append c (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) b))) a (1+ a) ) (setq d (ssget "F" c (list (cons 0 "Point")))) (sssetfirst nil d) ) ) (princ "\nThere are no selected polylines") ) (setvar 'cmdecho oc) (setvar 'osmode os) (vla-endundomark dw) (princ) ) ;;; End ptopl
  8. Yesterday
  9. SANDIP PAITAL

    Associative Textbox (Lee Mac)

    Dear Sir, one request AssociativeTextboxV1-3 programming two modification required , Select Text or Mtext (Option required Select all text (A) or Single text pick) and all text or single text are layer name TBOX.
  10. I have seen a dwg with a complete project inside the current dwg which had nothing to do with the dwg being worked on. Look for $AC.... blocks these can be very extensive in size. You need to insert explode erase then can purge. Do you get a blank screen with Zoom Extents ? This is indicating that something is way out there normally in a corner and can be a complete dwg. The only real way to fix is to look at the dwg, understand company copy right problem but you can PM or email via a PM to people here who will look at the dwg and let you know what they find.
  11. You are right its a bit fudgy but you can read a CSV made by Excel, you would have to count lines as row number, then using say lee-mac parse lisp break the line down into individual values representing cells then use a (nth x excelline) where x is the column number in Excel. Like wise make a csv then open in excel. If LT supports you can use (startapp to open Excel and provide the CSV file path & name so it opens it within your lisp saving a step. oh depending on where you are in the world Excel uses a comma or a semicolon for CSV files.
  12. There is an extensive post about this question its out to 6 pages with various people offering suggestions, I think that GP may have posted there as well. Now where is it
  13. I draw my drawings in model space, but when I go to paper space, the viewport is in landscape mode and I need portrait. I was able to change it to portrait but now the wireframe (?) is still in landscape mode and I can't get it to change. In addition to that, what I see in my viewport some of my text and titleblock info doesn't show up but it does in model space. I have never had these issues before. I am using autocad 2022.
  14. I use ACAD 2012
  15. Discus84

    HARD ORTHO

    I have ortho on, however I can still pull, push and stretch diagonally.. Unless this is how it's supposed to be. What I'm after is being able to only draw and stretch objects at right angles. Thanks!
  16. thanks in advance for any help
  17. Hello everyone. I’ve been exploring profiles of educational leaders recently and am curious about how their diverse experiences shape their approach. One figure who stands out is Grady Gaston, whose career path and achievements seem to reflect a strong commitment to innovation and student success. How do leaders like this balance administrative responsibilities with community engagement and mentoring? What strategies have you seen work best in fostering growth and collaboration within educational institutions? I’d love to hear perspectives on how professional background influences leadership style, especially in contexts similar to those navigated by Grady Gaston.
  18. To test my memory, I opened the default drawing, created a new scale 1:1, and drew a couple of objects and a dimension. I made the dimension annotative and gave it the 1:1 scale. I copied those objects to the clipboard. Then I opened a second new drawing, which had our template settings, including a 1:1 scale. I pasted the objects from the clipboard into the second drawing. You'll never guess what happened. The pasted dimension had a scale of 1:1_1. In other words, that's the type of name AutoCAD gives a duplicate scale when it doesn't want you to rename an arbitrarily large group of settings. Does that shed any light on the issue?
  19. There are some free and paid apps in the Autodesk Appstore that really do a super job. Not sure if they work on AutoCAD 2010 though and OP refuses to respond to my question on what CAD they use.
  20. Doesn't AutoCAD LT have Tables that can Datalink to Excel? AutoCAD LT 2025 Help | About Linking a Table to External Data | Autodesk
  21. I truly hope so. I'm just glad to find out I wasn't crazy looking at these instructions and thinking they don't all make sense. But holding out hope for that day when they make the program better and more clear to understand. I wish you well also
  22. I have never seen a standard scale of 1:1_1. Scale Type Scale Description Imperial Architectural 1/4" = 1'-0" (1:48) Commonly used for floor plans 1/8" = 1'-0" (1:96) Used for detail drawings 1/2" = 1'-0" (1:24) For larger details or sections 1" = 1'-0" (1:12) Used for large scale details 3/4" = 1'-0" (1:16) Used for specific areas 1" = 10' -0" (1:120) For site plans or larger layouts Imperial Engineering 1" = 10' (1:120) Used in civil engineering 1" = 20' (1:240) Site plans and large infrastructure 1" = 30' (1:360) Larger site layouts 1" = 40' (1:480) Used for extensive projects Metric 1:1 Full scale 1:10 For large models 1:20 Common for architectural plans 1:50 Used for detail and construction plans 1:100 Site plans and larger structures 1:200 Used for overview layouts 1:500 For urban planning diagrams 1:1000 For regional planning Can you post an example .dwg with a non-editable scale?
  23. Do you have an example drawing that does this?
  24. That’s a massive block library! It sounds like the real bottleneck is the 'individual setup' for each export. If you're looking for an 'Excel on steroids,' maybe give Power BI a look? It connects directly to Excel files, and once you set up your 'program' for filtering and summing distances, it stays there. You just refresh the data when you get a new export from Nova or CAD. It's much more visual than a standard spreadsheet.
  25. It's causing a plotting issue. The way I work is, model space set to meters and scale is 1:1_1. Paper space is in millimeters. I then set the viewport scale to be whatever I want it to be. I've worked like this since starting using AutoCAD some 25 years ago. Occasionally I get sent a file where this doesn't work and when I look into it, the problem is that for scale 1:1_1 it's set to '1 paper unit = 0.001' drawing unit'. This makes the viewport scale1000 times larger. If I could edit it to be '1 paper unit = 1 drawing unit' it wouldn't be a problem but it won't allow me to edit it. If I'm plotting something at 1:5000 I have to pick the scale 1:5 as a work around.
  26. There probably is a post like this since it is quite a generic theme, but I didn't find it. OK, so I can't write to excel on LT, but I can write to a .csv; all I need to do is write values then retrieve them through Excel, a .csv should be enough for that, right? Anyway thanks a lot BIGAL.
  27. No worries @pavanetc, just need to know everytime that when you need something, you need to make a good explanation, provide an example drawing and be flexible in explanation to others understand the problems whom you meet. Best regards.
  28. Was this posted elsewhere ? Ok first answer you can not use LT2024+ as it does not support the "get application" method. Acad full or Bricscad plus others etc are fine. For LT2025 must use read / write a csv. Happy to provide lots of defuns re Excel to and from but not for LT.
  1. Load more activity
×
×
  • Create New...