News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Help with polylines (truncating lines)

Started by wuhanmatt, May 17, 2013, 01:43:48 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

wuhanmatt

Hi,

I would really like to be able to truncate the length of a polyline, I don't think its possible, but I thought I would ask anyway, because I am an optimist

I would like to draw numerous polylines from a point on a file, lets say lines that denote distances from an exit or some other feature of a building floor plan. For each exit there will be numerous lines going along each route to a distance of (lets say) approximately 100 m.

This would result in multiple poly-lines (or perimeter measurements) all leading from a single point and all having a similar, but not exactly the same, length. Is it possible to then truncate these lines so that they are all (lets say) 90 m in length, so that the last ~10 m is cut off. And then do it again to 80 m, and then to 70, etc etc.

I would effectively want to "anchor" one end of a polytime to a point, in this case a door. I would then want to specify the length of the polyline such that the end (and not the anchored point) is truncated.

If I could do this it would be a great help. I cant think of another way of doing what i want. It could be done with circles of known radius however due the internal layout this is not accurate enough.

Regards,

Matt

John R

3 tools that might be helpful are:
Line Length
Shrink/Extend
Multi Shrink/Extend

You can lock the Line Length tool to a specified length, then click on each segment to shorten or lengthen it.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

wuhanmatt

Hi John,

Thanks for the reply.

Unfortunately i dont think those commands help me.

The shrink/extend function is pretty cool, but doesnt help as i would need to shrik/extend it to an object that is a known distnace from the exit - the point of the line is to measure this distance.

Line length is almost what i want to do, except i want to do it to a whole polyline instead of to just a segment of a polyline. Does that make sense? I also want to do it to multiple lines at once.

Regards,

Matt

John R

The only other thing I would try is the Edit Tool and move the nodes around, but I doubt if that would help your situation. Maybe there's a way to do this in SDK or Ruby.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit