Skip to main content
14-Alexandrite
May 24, 2021
Solved

Cable Length Parameter

  • May 24, 2021
  • 1 reply
  • 13965 views

Hello,

I have routed a cable.  How can I display the length of the cable in a table (i.e. what parameter captures the length of the cable)?  Thank you.

Best answer by Chris3

Are you in a linked (Windchill - PDMLink) Session? If so then the part may just be set to read only or not checked out.

 

You need to enter the relation into the relations dialog box and set it equal to some name which will then show up as a parameter that you can use in a table or elsewhere.

1 reply

tbraxton
22-Sapphire II
May 24, 2021

Write a relation that uses the cable_len function in the part of interest. You can then use the parameter defined in the relation in a table or note.

 

For a segment of a cable or bundle, use the following syntax:

cable_len ("cable_name",location_id1,location_id2)

 

For a cable length from the proximal to distal connection, use the following syntax:

cable_len ("cable_name",-1,-1)

wbottis14-AlexandriteAuthor
14-Alexandrite
May 24, 2021

Is this relation written in the harness.prt or the harness.asm containing the harness.prt and connectors?

wbottis14-AlexandriteAuthor
14-Alexandrite
May 24, 2021

OK, I wrote the relation in the .asm file containing the routed harness and it's calculating a length of 0.  I'll keep trying.