Profile Picture

Reroute problem

Posted By Balasaheb 14 Years Ago
Author
Message
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

This is because of the default property of the Document. You need to increase the Document Routing Manager Max Avoided Grid Obstacles (when using HV connector). When using Dynamic Polyline you will need to increase the Max Avoided Mesh Obstacles. For example:

 

nDrawingDocument1.RoutingManager.MaxAvoidedGridObstacles = 200;

nDrawingDocument1.RoutingManager.MaxAvoidedMeshObstacles = 150;

 

When creating custom shapes (by grouping or composing), we would recommend you to use Composing, if you will never need the elements that are used to be separate entities again. Using Composite shapes instead of Groups will also affect the max avoided obstacles routing.

 

Questions or comments, please let us know.

Best Regards,
Nevron Support Team



Balasaheb
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1
hi,

i have my custom shapes library. using that library shapes i am designing diagrams, but when number of shapes get increases Reroute function not working.

RerouteAutomatically = Never;

i want rerouting manually, that's why above property is set.

sample code

NNodeList nodeList = currentDesignForm.NDrawingView.Selection.Nodes;
foreach (INNode node in nodeList)
{
if (node is NRoutableConnector)
{
(node as NRoutableConnector).Reroute();
currentDesignForm.NDrawingView.SmartRefresh();
}
}



Similar Topics


Reading This Topic