Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Wouldn't it be great if you could save the Cable Length as an analysis feature with the length as feature parmeters in the model tree? I figured this can be handy espacially if you measure a portion of a cable and want to refer to the value in e.g. a note on drawing or MBD.
Maybe, as an alternative solution, the regular measure distance tool could be updated to manage cable length and parameters?
/Jonas Fransson PDSVision
Solved! Go to Solution.
This is already currently possible. In the harness part add a relation that uses the cable_len function:
To calculate the current length of any segment of a cable or bundle, use the following syntax:
cable_len ("cable_name",location_id1,location_id2)
To calculate the length for the complete cable from end to end, use the following syntax:
cable_len ("cable_name",-1,-1)
where
cable_name is the name of the cable being measured in the current harness.
location_id is the internal feature ID of the location through which the cable_name is routed. Where 1 and 2 denote the two cable locations between which the length is to be calculated.
This feature has been requested for a long time. For this type of items (pipes, cables, hoses etc), the customer is interested in the length he needs as a quantity in the BOM.
BR
Per
This is already currently possible. In the harness part add a relation that uses the cable_len function:
To calculate the current length of any segment of a cable or bundle, use the following syntax:
cable_len ("cable_name",location_id1,location_id2)
To calculate the length for the complete cable from end to end, use the following syntax:
cable_len ("cable_name",-1,-1)
where
cable_name is the name of the cable being measured in the current harness.
location_id is the internal feature ID of the location through which the cable_name is routed. Where 1 and 2 denote the two cable locations between which the length is to be calculated.