stvitor Posted March 12, 2015 Share Posted March 12, 2015 Hi everyone! I'm trying to get a lisp routine to isolate a layer and show the length of all selected lines in my drawing, but i want it to be a dimstyle. can anyone help me please? Quote Link to comment Share on other sites More sharing options...
BIGAL Posted March 13, 2015 Share Posted March 13, 2015 You can dim a line via lisp just retrieve start and end points use Dim Align and just pick all the lines, the big but! it will possibly do the dim to the wrong side as the line is draw to left rather than to right. Now wheres my auto dim.lsp oh yeah forgot its copyrited so can not post. ;;; autodim3.LSP Version 1.0 ;; ;;; by Alan ;;; 1 April 1992 ;;; ;;; DESCRIPTION ;;; AUTOMATICALLY DIMENSIONS ;some code hints (setq ppt1 (ENTSEL "\npick first point to dimension :")) (setq tpp1 (entget (car ppt1) ) ) (setq pt1 (cdr (assoc 10 tpp1) ) ) (setq pt2 (cdr (assoc 11 tpp1) ) ) (command "DIM" "aligned" pt1 pt2 pt3 "") Quote Link to comment Share on other sites More sharing options...
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.