Jump to content

Recommended Posts

Posted

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.

Posted

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)
)

Posted

Thank you for your help guys.

appreciate it.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...