Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/22/2022 in all areas

  1. Could be a lot of things... can you post a copy of the offending routine? (old and new version too perhaps?)
    2 points
  2. I have a good relation ship with the owner of CSD known him for like 35+ years so if get stuck send me a PM.
    2 points
  3. a sample drawing would have been nice but mhubb's code could be the answer if your viewports are all over the place , but right now only you can answer that question. Or maybe your viewport sits inside a border or titleblock? In that case you could retrieve the corner points of your titleblock. But is it so much trouble to click on erase yourself , select all , remove window? Of course I agree , one click is better than two or more
    1 point
  4. Viewports with the fix option will draw a Viewport at the max print area. (defun C:test (/ vp LL UR) (vl-load-com) (command "_vports" "_F") (setq vp (vlax-ename->vla-object (entlast))) (vla-GetBoundingBox vp 'LL 'UR) (setq LL (vlax-safearray->list LL) UR (vlax-safearray->list UR) ) (command "_.Erase" "All" "Remove" "Window" LL UR "") (vla-delete vp) )
    1 point
  5. As newer file formats can have larger file sizes opening and modifying them from a floppy, CD or USB might prompt to save it on another drive. As Steven pointed out we'd need to see the acad.lsp if you think that's causing your issue. For it to happen every time you open a drawing your ACADLSPASDOC must be set to 1. Are you using acaddoc.lsp as well? Are you using Startup Suite? About Auto-Loading and Running AutoLISP Routines
    1 point
  6. Thank you David, it is a nice surprise! Marry Xmas!
    1 point
  7. You can get centroid its a property of a solid, ; Centroid (RO) = (23136.3 11917.7 25.0) You should be able to use rotate3d using X axis and the centroid point (setq ent (car (entsel "Pick obj"))) (setq pt (vlax-safearray->list (vlax-variant-value (vla-get-centroid (vlax-ename->vla-object ent))))) (command "rotate3d" ent "" "X" pt 90)
    1 point
  8. OK, so I managed to find an 11 year old SQL file. Located the spoon tutorial in old style forum markup. I also found the images in my forum archive. I pulled together the text and images and marked them all up with modern HTML. A very enjoyable hour Merry Christmas! https://cadtutor.net/archive/spoon/
    1 point
×
×
  • Create New...