[Creo 10 Pro/Tookit] Route wires through a point location
Creo10 Pro/Toolkit Cabling development issue.
I am trying to route wires through a point location starting from a connector side. I created the ProRouting data for each wire. And use following code to route all of them through a point location one by one.
for (int j = 0; j < cablenum; j++){
...
err2 = ProCablelocationrefAlloc(PRO_LOC_POINT, sel_array_route, PRO_B_TRUE, offset, &cablelocationref);
err3 = ProCableThruLocationRoute(cable_route_data_arr[j], cablelocationref, &tpm_loc, &second_location);
...
}
But the CAD shows all wires are interfered and concentrating in the point as the left pic shown.
What I want is including all the wires in the point with the blue points like the right pic shown. Is there anybody know how to achieve this by the Pro/Toolkit code? Million thanks to this.


