Nevron Forum

Layer and Dynamic HV Connector routing

https://www.nevron.com/Forum/Topic4203.aspx

By Pramod Sreekanthan - Thursday, September 16, 2010

We've the requirement to have 2 layers in the application.

1. Layer 1 will contain rectangular boxes(shapes) representing containers.

2. Layer 2 will contain basic shapes and connector connecting these Layer 2 shapes.

3. At any point only one layer is active

4. When any shapes are connected together in layer 2 using Dynamic HV connector...it's treating layer boxes as obstacle and routing the connector outside and then connecting the shapes. Please ref attachment.

5.If any other connector - side to side or nstep connector it is contained within layer 2.

Please let us know how avoid the behaviour as seen point 4.

//Pramod

By Nevron Support - Thursday, September 16, 2010

Hi,

in order to have routing you must use routable connectors such as Dynamic Polyline or Dynamic HV. All other connector types are not routable. Note that for the routable connectors you can also use the RouteAutomatically property to make them reroute if an obstacle is placed on them.

By Pramod Sreekanthan - Friday, September 17, 2010

I am not the problem is understood, I've attached the document to reproduce the issue. Though dynamic hv is used to connect, the connector moves outside the box in the final step...it should be contained with in.
By Nevron Support - Friday, September 17, 2010

Hello Pramod,

 

Yes, this is the default behavior. You need to set the RoutObstacleType to RouteThrough for the rectangle (in layer 1), by default it is RouteAround.

 

Hopefully this helps.