Jump to content

All Activity

This stream auto-updates

  1. Past hour
  2. GLAVCVS

    Retro Error Backtrace

    Hi If you need to locate where the error occurred during execution, once it has happened, press CTRL-F9 and VLIDE will show you the expression where the error occurred, highlighted. I hope this answers your question correctly
  3. Today
  4. A 3MF (3D Manufacturing Format) file is an advanced, XML-based file type designed specifically for 3D printing and additive manufacturing. It was created to replace the older, limited STL format. Looks to be Solidworks from the extension of the sub parts(.SLDPRT), you need to update the plate sub part. --edit nm looks to be STL. convert the plate stl over to a solid. then you can edit. --edit edit or slice it if its flat and extrude into the thickness getting rlx vibes for some reason
  5. Back in the day (Autocad 14 or so) the autolisp interpreter would spit out the variable names in the line of code that bombed instead of the values (example below), making it much easier find the problem. This may be a newbie question from an old-timer. I never took the pains to learn the VLIDE. Is there something there that solves the problem? Error: bad argument type: numberp: nil Backtrace: [0.57] (VL-BT) [1.53] (#<SUBR @0000018680e21a98 -lambda-> "bad argument type: numberp: nil") [2.49] (ill-fun-hk "bad argument type: numberp: nil") [3.44] (((MSG) (IF (NOT (MEMBER MSG (QUOTE ("console break" "Function cancelled" "quit / exit abort" "")))) (PROGN (PRINC (STRCAT "\nError: " MSG)) (IF *DEBUG* (VL-BT))))) "bad argument type: numberp: nil") [4.39] (_call-err-hook ((MSG) (IF (NOT (MEMBER MSG (QUOTE ("console break" "Function cancelled" "quit / exit abort" "")))) (PROGN (PRINC (STRCAT "\nError: " MSG)) (IF *DEBUG* (VL-BT))))) "bad argument type: numberp: nil") [5.33] (sys-error "bad argument type: numberp: nil") :ERROR-BREAK.28 nil [6.25] (- nil 8.48089) [7.19] (C:GT) [8.15] (#<SUBR @0000018680872c50 -rts_top->) [9.12] (#<SUBR @00000186807c8700 veval-str-body> "(C:GT)" T #<FILE internal>) :CALLBACK-ENTRY.6 (:CALLBACK-ENTRY) :ARQ-SUBR-CALLBACK.3 (nil 0)
  6. Lee Mac

    Incremental Numbering Suite

    I've now updated this program to support resetting components of the incrementing string back to a given value with a given frequency - the latest version can be downloaded from my site: https://lee-mac.com/numinc.html
  7. We need to know what program you are using to alter this to help you. Do you have the .dwg? Easy enough to fix in AutoCAD with a .dwg.
  8. Yesterday
  9. Can not open may be just my software. What software did you use to make the object ?
  10. BIGAL

    MycadHELPER

    Welcome aboard looks very interesting had a look at the link. Where I used to work we used POP menu's extensively as well as custom commands, This menu had around 130 lisps behind it. I read about workspaces and yes we would save a workspace under each users name, so it was customised to their liking. One thing I did was add a pop menu that had options from another workspace we had CIV3D, so no need to even change workspaces for some often used commands. Then of course there was custom toolbars, if you can use Notepad you can make toolbars and pop menu's. You may be interested in the attached. How to make POP menu.docx
  11. I need to remove the holes in this plate. just like they were never there. I tried making a cylinder and filling it in and it didn't look right I tried a bunch of suggestions from AI and that was a waste of time. If you cant open the 3MF file I can possible get a different older version Mark Macey front plate.3mf
  12. PGia

    Boundary command

    Yes, I suppose that, as a last resort, it is always possible to select all the linear objects until the perimeter is closed. But this can be quite slow in many cases — especially when you have many boundaries to work with. It’s an important limitation. I’ll try to find out what can be done with regions. I’m not familiar with BricsCAD. But this may end up being yet another reason to give it a try.
  13. Hi I am a retired architect with about 40 years professional practice, 30 of which have been focused on AutoCAD as a senior CAD technician and CAD manager in a large office and as a tertiary level teacher of architectural technology and building including a few years teaching AutoCAD at TAFE and QUT. I am wondering whether some of the work I have done developing CAD drawing strategies and support programs might be useful to help AutoCAD users both at beginner level and advanced 2D drafting. What I have to offer will be best explained on my website mycadhelper.com that I have recently been reviewing as a retirement hobby. There are several topics/pages that describe philosophies for the creation of command-aliases, reduction in command-entry-keystrokes, expanded command functionality, a practical automated layer-naming-standard-and-management system allowing coincident-overlay-drafting that focuses on production drawing work-zones. The most obvious aspect of MycadHELPER and its entry point is its clean-screen and keyboard-only input of commands and data supported by its custom carefully designed system of command aliases. I would be interested if anyone, after visiting my website, wishes to use some of my suggestions or even help in polishing it up. mycadhelper.com
  14. mhupp

    Boundary command

    A few i had laying around ;;----------------------------------------------------------------------------;; ;; ZOOM TO OBJECT AND OUT 5% (defun C:ZZ (/ SS) (if (setq SS (ssget)) (progn (vl-cmdf "_.Zoom" "OB" SS "") (vl-cmdf "_.Zoom" "0.95x") ) ) ) ;;----------------------------------------------------------------------------;; ;; ZOOM TO OBJECT THEN OUT 25% (defun C:ZX (/ SS) (if (setq SS (ssget)) (progn (vl-cmdf "_.Zoom" "OB" SS "") (vl-cmdf "_.Zoom" "0.75x") ) ) )
  15. Last week
  16. Steven P

    Boundary command

    Yes, I tend to zoom object then zoom out another 10%, catches most things
  17. SLW210

    Boundary command

    I'm not sure if zoom object will work in all cases. I tried several shapes including the OP's drawing and sometimes I was zoomed more than the zoom object showed, maybe zoom object and then zoom some more. I personally believe the better option would be to just use BricsCAD as it seems to handle these situations better. I would be curious to know the method they use for pick points for Boundary and Hatch in BricsCAD and if it works correctly in all cases. As discussed, select objects for hatch seems to be the best option for difficult geometry over pick points. It might be an easier code, though IIRC there should be some good codes out there for creating a closed polyline, then making regions so should be easier than working from scratch.
  18. Hello, You can try this app Turbo Plot, by using accore so it supports Headless and multiple workers, it is faster than current software use active X. In setting pls use Acad not Brics. https://drive.google.com/drive/u/1/folders/1ds7cGhJ5FB9hYluPb1ej81CFOsqifPrl
  19. Hello Bro, Please try version 1.3, which now supports BricsCAD. However, I should point out that BricsCAD does not provide a console application like AutoCAD's Core Console, so the processing speed is not as fast. The biggest advantage of this software is its multi-threading capability for AutoCAD users, which can significantly improve productivity. Nevertheless, adding BricsCAD support helps broaden the user base and provides more flexibility for users working in different CAD environments. https://drive.google.com/drive/u/1/folders/1ds7cGhJ5FB9hYluPb1ej81CFOsqifPrl
  20. Oops fixed. Thanks.
  21. Steven P

    Boundary command

    If it can be fixed with zooms then you can record the current zoom, zoom object, make the boundary and zoom back 'current' zoom - I think that method is online somewhere to copy / paste else can find it on Monday if needed.
  22. lastknownuser

    Boundary command

    Just to add something more from me, as I did try to understand this problem as much as I could back then when I was working on my solution. Boundary command probably uses Pixel-Based Areas (Boundary Fill) method, that's why you have to see whole area on your screen. You can google what that is and how it works, but it makes sense to me considering there is a precision problem depending on "zoom" level. As for Hatch, it works the same for "pick points" method (boundary command + add hatch for that polyline), but if you choose "select objects" then it works as completely different method (just math without graphics part) and that's why its more accurate in this example. It all depends what you have as starting variables and what you need in the end. If you can, and its not a problem to select all lines, then CBoundray function from post above will work okay. This works like the Hatch by selecting objects... Of course clicking just one point inside area is simpler and faster, but can give wrong result because of its limitation. And I don't think its an issue with Autocad, its just a method that has its limitation. And it actually works really good otherwise, if you think about it, considering how much zoomed out you have to be and have a short segment to get the error. For example I work with topology, and have area centroids, and I needed to work some analysis with polylines for certain areas. In 99% cases boundary command was good, but with large areas with small boundary segments (like in OP example) I had this problem and needed to avoid it.
  23. @PGia is not the OP. The OP is @MSHR.
  24. Your name of course will be there always. You too free to use any code I am posting here or modify it for the better ideas. Thank you so much. Regards.
  25. BIGAL

    Boundary command

    The issue of zoom in Acad and a lisp has been known since I think Acad existed, I know at times have had to use ZOOM C scale to get lisps to work, There may be a way around the problem perhaps using Boundingbox but I certainly have not tested.
  26. mhupp

    Boundary command

    Idk about that this is a super simple lisp that will allow you to select multiple entites. But if they aren't within the fuzz distance of each other they wont connect. ;;----------------------------------------------------------------------------;; ;; Copy Boundary Entities to join as a single polyline fuzz is 0.1 units ;; https://www.cadtutor.net/forum/topic/99146-boundary-command/ mhupp:06/04/26 (defun C:CBoundray (/ ss ss1 obj) (setq ss1 (ssadd)) (while (setq ss (ssget '((-4 . "<OR") (0 . "LINE") (0 . "ARC") (0 . "LWPOLYLINE") (-4 . "OR>")))) (foreach obj (mapcar 'vlax-ename->vla-object (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss)))) (vla-copy obj) ) (command "_.PEDIT" "_M" ss "" "_J" "0.1" "W" "0" "") ) (princ) )
  27. PGia

    Boundary command

    I had no idea about this issue. Many thanks to everyone for the information It really seems that this is AutoCAD’s ancient problem — known since the end of the previous millennium and still unresolved in this one. In any case, it doesn’t seem to be something easily approachable for Lisp programmers, since it is not easy to find published code aimed at solving this AutoCAD deficiency.
  28. @MSHR its your turn now people waiting for sample dwg, there are prepared to help, like @CyberAngel I suggested can select boreholes and make a single table of those selected. Repeat as required.
  1. Load more activity
×
×
  • Create New...