You have to have some rule for making connections... Order of selected blocks can vary - you have to provide exact order for which connections should be performed... Or you just want to pick blocks one by one?
Yes, work.
But line two blocks should be connected with a line or polyline at the shortest distance
Th.
Tharwat ,good man !
Tharwat ,good man !
Thank you Andy :wink:
And some reference here:
http://www.theswamp.org/index.php?topic=30434.0
andy_lee : "Here is a way ,code by Alan"Change .line to .pline ? (didn't test it, just a guess)
Is it possible to draw polyline instead of line?
I tested previously, it didn't work :-(
@ ur_naz:Main goal is to connect blocks one by one without intersection of connection lines. If there is no way to connect blocks without intersection, previous blocks must be reconnected automaticaly or user is alerted on impossibility to continue. No matter in which order blocks are selected.
Where is the logic in the connecting lines? The left and right part of the image now have a different pattern. This seems arbitrary as the lines used on the left could also be used on the right and vice versa.