Jump to content
shailujp

How to create Pline that is always closed one, is there any option

Recommended Posts

shailujp

Hi all,

 

I have a small question here. Is it possible in autoCAD (or via lisp) that when I draw a polyline and when I reach the first point again (from where I have started), the command terminates and give me a closed polyline. And if I dont reach to the first point, it automatically closes to the first point.

 

This is just me make sure I'm not keeping the loop open for hatching?

 

Any help is appriciated.

Edited by shailujp
grammer

Share this post


Link to post
Share on other sites
steven-g

Do you know that if you type "c" when you are in the polyline command, and it is waiting for you to input a point, that it will automatically close the polyline to the start point for you.

Share this post


Link to post
Share on other sites
shailujp

Ahh...so simple...what was I thinking...

 

Thanks Steven

 

And is it possible to let it automatically terminate when its already reached to the first point, rather than giving command to close it.

Just curious...may be via lisp?

Share this post


Link to post
Share on other sites
Lee Mac
And is it possible to let it automatically terminate when its already reached to the first point, rather than giving command to close it.

 

You don't need to pick the first point again -

By selecting the 'Close' option, the last segment will be constructed automatically to close the polyline.

Share this post


Link to post
Share on other sites
shailujp

Thanks Lee Mac & Steven for your help.

Share this post


Link to post
Share on other sites
Dadgad

I am a firm believer in closing my polylines, as described by steven & Lee, :beer: but you may also be interested to learn about this system variable option.

set your hatch gap tolerance.jpg

Share this post


Link to post
Share on other sites
shailujp

Dadgad,

 

I like your recomendation too...

 

Just curious, how did you get this dialogue box which gives detailed information about system variables? is this a newer version of autocad? I'm using 2008

Share this post


Link to post
Share on other sites
Lee Mac

SYSVDLG - Express Tools

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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