Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/04/2025 in all areas

  1. Definitely: not possible. At least with my version of AutoCAD. Any line of code after the new drawing is created will not be executed in it. If zoomExtents is so important, you should consider an indirect solution (which I've never tried, but which may be possible): write a LISP in 'acad.lsp' so that it does a 'zoomExtents' when each drawing is opened. Perhaps someone can share their experience in this regard.
    1 point
  2. Hi Maahee If what you're looking for is a mix of the two, maybe this is what you're looking for? (ssget "_X" (list (cons 0 "LWP*") '(-4 . "<and") '(-4 . "<not") '(-4 . "=,=,*") (list 10 (car p1) (cadr p1)) '(-4 . "not>") '(-4 . "<or") '(62 . 1) '(62 . 2) '(-4 . "or>") '(-4 . "and>") ) )
    1 point
  3. Hi @maahee, Try with this: (setq ln (ssget "_F" pts '((0 . "LINE") (-4 . "<NOT") (-4 . "<OR") (62 . 1) (62 . 5) (62 . 256) (-4 . "OR>") (-4 . "NOT>")))) This will reject selecting "LINE" entities which are colored in red, blue and bylayer (62 . 256) (bylayer present that LINE which cross over the red and blue LINE's). Use this reference to all "ssget" function reference: ssget.
    1 point
  4. Just as an update, this only seems to happen when using BASE command. If I plot to a new layout page using VIEWPORTS then the shading looks fine?
    1 point
×
×
  • Create New...