Guest Posted February 11, 2023 Posted February 11, 2023 Hi.I use 4 attribute blocks as section arrows. Is any way to : 1) Draw the section line 2) Pick the direction of the section 3) and insert the correct arrow blocks "looking" to the picking direction I attach the clocks i use Thanks eCwsy203.dwg eCwsy204.dwg eCwsy205.dwg eCwsy206.dwg test.bmp Quote
mhupp Posted February 11, 2023 Posted February 11, 2023 (edited) Id make a dynamic block. then the simple lisp would be to pick two points to set the length and angle. insert block ask if its the right direction or flip http://www.lee-mac.com/dynamicblockfunctions.html#toggleflipstate Edited February 11, 2023 by mhupp Quote
Guest Posted February 11, 2023 Posted February 11, 2023 Hi mhupp. Thanks for the reply, But I am not searching for a dynamic block because I don't use them. Look the *.dwg file. Thanks TEST.dwg Quote
devitg Posted February 11, 2023 Posted February 11, 2023 28 minutes ago, prodromosm said: Hi mhupp. Thanks for the reply, But I am not searching for a dynamic block because I don't use them. Look the *.dwg file. Thanks TEST.dwg 359.3 kB · 0 downloads Please upload the test dwg , whit the 4 blocks 203 204 205 and 206 , inserted as you want they to be Quote
Guest Posted February 11, 2023 Posted February 11, 2023 Hi devitg. I upload the test.dwg with all blocks. Thanks TEST.dwg Quote
BIGAL Posted March 5, 2023 Posted March 5, 2023 (edited) You have asked for lots of freebies you should know by now how to get an angle of 2 points or an included angle of 3 points then use a cond to select the correct block. Edited March 5, 2023 by BIGAL Quote
Guest Posted March 5, 2023 Posted March 5, 2023 (edited) Hi Bigal. I can go so far 1) Pick the first point of the section 2) Pick the second point of the section 3) Pick a point for the direction of the section 4) Give the name for the section (A,B,A1, etc) 5) Draw the section line with marks like the example (defun c:test () (setq pt1 (getpoint "\nSpecify first point: ")) (setq pt2 (getpoint p1 "\nSpecify second point:")) (command "line" pt1 pt2 "") ;How to insert the blocks at the end of the line ?? (setq pt3 (getpoint "\nSpecify direction: ")) (setq ang1 (angle pt1 pt2)) );end defun Thanks Edited March 5, 2023 by prodromosm 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.