Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Enable AutoRoute without Recalcing the Route (Read 1267 times)
Nedor
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Aug 6th, 2010
Enable AutoRoute without Recalcing the Route
Aug 6th, 2010 at 8:35am
Print Post  
If I enable the autoroute feature with
Link.AutoRoute = true;
the engine trys to AutoRoute this link. But i have to Add much Nodes/Links in one operation. In this case the AutoRoute algorithm slows down the whole program a lot. Is there any way to enable the AutoRoute Feature, but don't calculate the best route currently, so the best Route ist Calculated the next time the link (or one node which is connected to the link) will be changed.

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Enable AutoRoute without Recalcing the Route
Reply #1 - Aug 6th, 2010 at 8:45am
Print Post  
Hi,

Use the Suspend and Resume methods of diagram.LinkRouter.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Nedor
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Aug 6th, 2010
Re: Enable AutoRoute without Recalcing the Route
Reply #2 - Aug 6th, 2010 at 10:15am
Print Post  
That was really what i needed. I have overlooked this function in the api.

Much thanks to you.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint