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

Java Function for connected fibers

JimBarrettSmith
14-Alexandrite

Java Function for connected fibers

Sometimes you will have a connector on multiple sheets and will want to know the names of the fibers that are already connected to the connector

In the image below connector HARN001-P1 Exists on sheet 1 and sheet 2

24-12-2015 12-34-21.jpg

By adding a label to the connector ports with the function {QueryCoShapes.connectedFibers()}

24-12-2015 12-40-03.jpg

On the second instance of the connector on sheet two I am able to see the names of the fibers that are already connected to the ports on the first sheet.

24-12-2015 12-35-09.jpg

The attached java files can be used at your own risk, enjoy!


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements