Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/02/2021 in all areas

  1. I've changed prompts to English, just for personal usage... Someone would wanted this version too... Bye... rs.lsp
    1 point
  2. Yes, as CyberAngel said ML1 very well could be an annotative ghost image of either one of the other leaders but is not visible because it is a different annotative scale than ML2 and ML3. Make sure the sys variable SELECTIONANNODISPLAY is set to zero. That one can drive people bananas on skates. If the variable = 1, then upon selection, ALL the ghost images of selected annotative objects suddenly appear. You can also set ANNOALLVISIBLE to 1 so you can see the wayward critter(s) all the time. If you didn't start this drawing and you are not familiar with annotative scaling, this will be fun. LOL Without ANNOALLVISIBLE = 1, you wont be able to select ML1 unless the current annotative scale in the space you are working matches that of the invisible object. look for it in modelspace because you don't want to change your anno scale in a viewport. If it = 1 then you can select and edit the other annotatively scaled objects. Without doing all that, you can select ML2 and click on ADD DELETE SCALES to the far right of the Annotation ribbon. That will tell you which, if any annotative scales are assigned to ML2 and 3, and allow you to get rid of the extra ones if not needed. If this is not your drawing you may not want to do this because it may disappear the leader in a viewport where it is needed.
    1 point
  3. (defun c:Docexport ( / pdfName ) (foreach layname (vl-remove-if-not '(lambda (ln) (vl-some '(lambda (n) (wcmatch ln n) ) '("Plan*" "Plakette") ) ) (layoutlist) ) (setvar "ctab" layname) (setq pdfName (strcat (getvar "DWGPREFIX") (strcat layname "_Zeichnung.pdf") ) ) (if (findfile pdfName) (command "-EXPORT" "_PDF" "_C" "_N" pdfName "Y") (command "-EXPORT" "_PDF" "_C" "_N" pdfName) ) ) ) The above should work as expected: I cannot vouched for this though, i'm not sure how this will come out. you specified (getvar 'dwgname) but i dont see the ayout name anywhere (strcat (substr (getvar "DWGPREFIX") 1 70) "\\08_Auftragsbestätigung\\" (strcat (substr (getvar "DWGNAME") 1 8) "_Zeichnung") ) If you can guarantee that the line above wont fail. then replace the value for pdfName and see if that works for you. HTH How do you add colors to the posted code anyway? I've been away from this fourm too long that the format is different now
    1 point
×
×
  • Create New...