Jump to content

Lisp/ tricks for draw A close polyline


Ish

Recommended Posts

 Dear team,

I need a lisp program or tips tricks to draw a close polyline within PRoW for land acquisition plan and area for Road project.

I want all at one click command.

Currently I am using boundary command but is one by one clicking.

 

 

Hatch for reference, need a close polyline.

 

See attached image 

And cad file.

IMG_20210717_200309.jpg

IMG_20210717_200353.jpg

LAP-CLOSE PL.dwg

Link to comment
Share on other sites

It doesn't seem to me that the bpoly command wastes that much time....

Edited by confutatis
  • Like 1
Link to comment
Share on other sites

A starting point

 

(defun c:hatchang ( / ang pt)
(setq ang 0.0)
(while (setq pt (getpoint "\nPick point Enter to exit"))
(command "-hatch" "P" "ansi31" 1 ang pt "")
(setq ang (+ ang 30))
)
(princ)
)

 

  • Thanks 1
Link to comment
Share on other sites

9 hours ago, confutatis said:

It doesn't seem to me that the bpoly command wastes that much time....

Sir, Project length 80km 

Too much land acquisition required.

I just upload small part of project.

Link to comment
Share on other sites

3 hours ago, BIGAL said:

A starting point

 


(defun c:hatchang ( / ang pt)
(setq ang 0.0)
(while (setq pt (getpoint "\nPick point Enter to exit"))
(command "-hatch" "P" "ansi31" 1 ang pt "")
(setq ang (+ ang 30))
)
(princ)
)

 

@BIGAL hatch is not required, sir

Hatching is Just for reference.

I need only a close polyline (like by boundary command)

Too much land acquisition required.

I just upload small part of project.

Thanks

Link to comment
Share on other sites

6 hours ago, BIGAL said:

A starting point

 



(defun c:hatchang ( / ang pt)
(setq ang 0.0)
(while (setq pt (getpoint "\nPick point Enter to exit"))
(command "-hatch" "P" "ansi31" 1 ang pt "")
(setq ang (+ ang 30))
)
(princ)
)

Thanks

Edited by Ish
Answer got
Link to comment
Share on other sites

  • 3 months later...

Jonathon look at the number under Community Members yours is 160 Ish is -ve19 look into the meaning of that, then "Hurts when nobody's willing to help you out" you may change your mind.

Link to comment
Share on other sites

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