Jump to content

Recommended Posts

Posted

Good Morning:

 

Does anyone have a polyline lisp with a specific dimension? I am placing electrical receptacles in an apartment complex. The polyline needs to be a total of 6'-0" or 12'-0". The polyline will bend around: corners cabinets and pillars. The poly line will not be longer that the predetermined length. 😀

 

Thank you for your time,

 

Efeezy 

 

Posted

use the LENGTHEN command with TOTAL option? I use a shortcut

(defun c:LT  () (command "LENGTHEN" "TOTAL") (princ))

 

Posted

Ok, I see where you are going with this. I want to draw a poly line and have the length at 6' or 12'. The way the LT lisp is set up it takes an existing pline and makes it a specific length. 

Posted
59 minutes ago, Efeezy said:

Ok, I see where you are going with this. I want to draw a poly line and have the length at 6' or 12'. The way the LT lisp is set up it takes an existing pline and makes it a specific length. 

 

that's right, and you could create a command that draws a pline first, and then runs the lengthen command. Then provide (getvar "lastpoint") as a response to selecting an object.

Posted

This has been answered before, if you draw a pline can get overall length and then reset last point, this though requires that the last segment is a straight and making to 12 would not go shorter than 2nd last point.

 

I think it was Lee-mac that may have responded to prior request I am sure if so he will post.

Posted

at least in Bricscad v15, the LENGTHEN command will shorten past 2nd to last point

 

lengthen.gif

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