cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Translate the entire conversation x

[Creo10 ProToolkit development] How to route multiple cables through a network?

KJ_9759172
3-Newcomer

[Creo10 ProToolkit development] How to route multiple cables through a network?

Creo 10 Pro/Toolkit developement. How to route multiple cables through a network?

 

I tried following code to route all cables through the network point. But all cables are concentrating in one point as the attached picture shown. It is not what I want. 

 

for (int j = 0; j < cablenum; j++)
{
err2 = ProCablelocationrefAlloc(PRO_LOC_POINT, sel_array_route, PRO_B_TRUE, NULL, &cablelocationref);
err3 = ProCableThruLocationRoute(cable_route_data_arr[j], cablelocationref, &p_location, &second_location);
err = ProCablelocationrefFree(cablelocationref);
}
 
How to route the cable through the point like the right pic shown? I will be appreciated.
1 REPLY 1

Make sure that the location is defined as "Flat" and you can then change the "Packing" of the location.

Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags