Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/21/2020 in all areas

  1. If you like this way then just let me know to write such a working routine for you for free.
    2 points
  2. Here is an easy way for you to make it working although you need to enhance your codes with the use of 'IF' and 'AND' functions to get sure the inputs from the users are correct then process to next step. Don't forget to localize the variable 'lay' as in the following codes. (setq LINELAYER (getvar "clayer")) (if (tblsearch "LAYER" (setq lay (strcat LINELAYER "-txt"))) (progn (setvar "clayer" lay) (command "mleader" COORD TEXT ANS) (setvar "clayer" LINELAYER) ) (alert (strcat "layer name < " lay " > is unavailable in this drawing ")) )
    1 point
×
×
  • Create New...