Quantcast
Channel: PTC Community : All Content - Piping, Cabling & Schematics
Viewing all articles
Browse latest Browse all 557

Java Function for connected fibers

$
0
0

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!


Viewing all articles
Browse latest Browse all 557

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>