TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mohan on April 06, 2017, 01:48:16 AM

Title: Find shorest distance path
Post by: mohan on April 06, 2017, 01:48:16 AM
Hi;

Is there any Program for the below Image:
Find the shortest distance for point A to B

thanks
mohan

Title: Re: Find shorest distance path
Post by: ribarm on April 06, 2017, 04:59:45 AM
Your problem is very complex according to your posted picture, but for simple tree branching I strongly suggest that you read and analyze this topic very carefully...

https://www.theswamp.org/index.php?topic=45092.0
Title: Re: Find shorest distance path
Post by: VovKa on April 06, 2017, 06:08:12 AM
Is there any Program for the below Image:
in case you are using Civil3d or Map3d
https://www.theswamp.org/index.php?topic=31050.msg366521#msg366521
Title: Re: Find shorest distance path
Post by: mohan on April 06, 2017, 10:26:21 AM
I am using civil_3d

many thanks guys for the suggestion to my thread, I will go throw the links

mohan
Title: Re: Find shorest distance path
Post by: BIGAL on April 06, 2017, 11:03:56 PM
There is a lot of theory on route mapping the simplest example is to just turn on your mobile GPS and ask go from Pt A to Pt B. If you google this theme I am sure you will find all sorts of mathematical models on how to do this. Putting into Autocad ? It is more likely that you will find a 3rd party program that analyses a series of strings. Then read that answer back into Autocad.
Title: Re: Find shorest distance path
Post by: VovKa on April 07, 2017, 05:47:20 AM
It is more likely that you will find a 3rd party program that analyses a series of strings. Then read that answer back into Autocad.
map3d (civil3d) has all that functionality built-in
one must first create a network topology then use _MAPANTOPONET command
(http://i.piccy.info/i9/26ba9eaa44c22b65185865a9b597bf42/1491558374/5821/1135688/Clipboard_2_240.jpg) (http://piccy.info/view3/11047672/21f2ae6edf8fb7552ab8d91ab582497c/)(http://i.piccy.info/a3/2017-04-07-09-46/i9-11047672/240x141-r/i.gif) (http://i.piccy.info/a3c/2017-04-07-09-46/i9-11047672/240x141-r)
Title: Re: Find shorest distance path
Post by: BIGAL on April 17, 2017, 01:29:18 AM
Never to old to learn something new. Just so many commands.