Discus84 Posted Wednesday at 02:20 PM Posted Wednesday at 02:20 PM (edited) Hi, I have a dimension which I'd like to put away from dimension line with leader. Since dimstyle is set to keep the text above the line, I have to use properties panel to change this for a particular dimensions. I'd like to be able to do it faster, but I don't know what set of commands Autocad follows, when I click on panels and select dimension. Is there an internal "command log" to peek into? Thanks! Edited Wednesday at 02:20 PM by Discus84 Quote
BIGAL Posted yesterday at 01:00 AM Posted yesterday at 01:00 AM You can make a dimension then adjust it using lisp. Its not obvious but the 15 has been moved so its inside the dimensions. Some example code moves the dim text 125 x, 120 y. (command "dim" "VER" p1 pt1 pt3 "" "exit") (setq obj (vlax-ename->vla-object (entlast))) (setq tpos (mapcar '+ (vlax-get obj 'TextPosition) (list 125.0 120.0 0.0))) (vlax-put obj 'TextPosition tpos) 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.