News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

How to connect multiple polylines

Started by Bizon, January 09, 2025, 11:16:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bizon

Hi,

I have a dxf file that consists of a very large number of polylines or lines as I break it down. I want to merge these polylines and close the outline, but the JOIN TO POLILYNE tool does not work in bulk.

My goal is to examine the exact cm2 area of the contour, but it must be closed.

How do I mass join small polyline/arcs together?

Thanks! :)
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

Andy H

#1
Depends.  If the polyline are correctly made with the end vertex touching.  Then one can use the join polyline tool, with Auto join  turned on, (after selecting the tool, an icon appears on the inspection bar, or it is available in the right click menu).

However when the tool is used, nothing will appear to happen. This is normal. A few ways to check.  either select the result and see if all the polyline is highlighted.  Or. switch to the edit tool, and click the result, to see if all nodes are selected.  Or.  A method Murray posted a few years ago.  Before using join poly.  select just one segment, and change its colour (red for example).  Select join poly with auto mode. and click on the red section only. if auto worked, then all the result will appear red. 

Then there is the chain polyline tool which creates a new polyline.  If all the vertex are connected correctly, then the new chain will automatically be be the whole object. If the chain fails then it will show how far it got, and where there is a potential problem, like vertex of two polylines not connected

Alvin Gregorio

#2
Quote from: Bizon on January 09, 2025, 11:16:01 PMHi,
I have a dxf file that consists of a very large number of polylines or lines as I break it down. I want to merge these polylines and close the outline, but the JOIN TO POLILYNE tool does not work in bulk.
My goal is to examine the exact cm2 area of the contour, but it must be closed.
How do I mass join small polyline/arcs together?
Thanks! :)
Hello Bizon
Please upload/Attach the .tcw TurboCAD Drawing file, so that we can know what you are working with.

I understand that you are working on a confidential project.
Just select the MANY Lines and Polylines that you are referring to, then Save As... and use the "Selection" option in that Save window.
Then upload/Attach that.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Dean

Quote from: Andy H on January 10, 2025, 12:26:26 AMDepends.  If the polyline are correctly made with the end vertex touching.  Then one can use the join polyline tool, with Auto join  turned on, (after selecting the tool, an icon appears on the inspection bar, or it is available in the right click menu).

However when the tool is used, nothing will appear to happen. This is normal. A few ways to check.  either select the result and see if all the polyline is highlighted.  Or. switch to the edit tool, and click the result, to see if all nodes are selected.  Or.  A method Murray posted a few years ago.  Before using join poly.  select just one segment, and change its colour (red for example).  Select join poly with auto mode. and click on the red section only. if auto worked, then all the result will appear red. 

Then there is the chain polyline tool which creates a new polyline.  If all the vertex are connected correctly, then the new chain will automatically be be the whole object. If the chain fails then it will show how far it got, and where there is a potential problem, like vertex of two polylines not connected

Andy, In Platinum 2024 there is a join polyline option in the local menu "unmatched connections", when this is active you can set the appropriate tolerance value to connect either polylines and lines where the end points don't meet.
This can be useful in some situations.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Andy H

#4
Quote from: Dean on January 10, 2025, 08:33:24 AMAndy, In Platinum 2024 there is a join polyline option in the local menu "unmatched connections",

Thanks Dean, good point.  On my computer, when I was trying join poly, I had 'auto' selected, so that option was not available.  What I later discovered, is that I have to turn off 'Auto',  (the options then appears),  select the unmatched option,  then turn 'auto' back on again.  If unmatched is turned off, before selecting 'Auto' the option is not available, on my computer.  Kind of a strange way to program it, but it does work once one has figured that bit out.

Bizon

Super!
Problem solved. After disabling AUTO JOINING, it is possible to select the entire sketch to combine it into one polyline. This option I could not find.

The strange thing is that when AUTO JOINING is turned on, the other options disappear. In my opinion, they should make themselves gray but so that we can see them. 

Thank you colleagues for another help.  :D  :D
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

murray dickinson

Hatching fixes sloppy polylines in versions that don't have latest options, creating a closed region defined within intersecting segments and closing off gaps.  Explode the hatch to get its perimeter polyline.