Jump to content

Leaderboard

Popular Content

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

  1. Try this, Express Tools required (setq scale 10.0 ang 0.0) (if (setq :imm (acet-ui-getfile "Select Image" (getvar"dwgprefix") "jpg;*;png;tif;bmp" "" 288)) (command "_.-attach" :imm pause scale ang) )
    1 point
  2. i tweaked the code to include the (or...) as per Steven P suggestion and now it works perfect thanks for the help guys. much appreciated
    1 point
  3. I wrote the Lisp above to deal with texts according to OP's request. So the program checks first if there is anything selected, next it looks for the type of the selected entity. Yes, you can expand that second check by adding some ORs, or you could use wildcards. Another option could be to skip all these checks. Of course, in this case it is the user's responsibility to make correct selections.
    1 point
×
×
  • Create New...