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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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.
2 REPLIES 2

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

Hi @KJ_9759172

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.

Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,


Catalina
PTC Community Moderator
PTC
Announcements
NEW Creo+ Topics: Real-time Collaboration

Top Tags