Jump to content

Recommended Posts

Posted

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

Posted
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 

 

  • 3 weeks later...
Posted (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.

 

image.png.cb84a8b8b09fcd454ddf5c625b8f55a0.png

Edited by BIGAL
Posted (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 by prodromosm

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