kfonsy Posted February 7, 2013 Posted February 7, 2013 I apologize if there is a thread/post already on this question. Can someone please tell me where I could find it. been searching for almost an hour. My quest: if your in a different layer working on adding walls for eg. You want add a dimension to that wall. When I hit DLI, How do I make sure that the dim i just entered goes directly to the DIM layer instead of the wall layer. Thank you. Quote
MSasu Posted February 7, 2013 Posted February 7, 2013 One solution will be to use a custom AutoLISP routine: ;;; Ensure that linear dimensions go to dedicated layer instead of current one (07-II-2013) (defun c:DLI( / oldLayer newLayer ) (setq oldLayer (getvar "CLAYER") newLayer "DIM") (if (tblsearch "LAYER" newLayer) (setvar "CLAYER" newLayer)) (command "DIMLINEAR") (while (> (getvar "CMDACTIVE") 0) (command pause) ) (setvar "CLAYER" oldLayer) (princ) ) Quote
Rajparamasivam Posted February 7, 2013 Posted February 7, 2013 You can find the lisp from Lee-Mac Website Here is the Link http://www.lee-mac.com/layerdirector.html Raj Quote
kfonsy Posted February 7, 2013 Author Posted February 7, 2013 Thank you for your help guys. appreciate it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.