<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1488794170278_28189"><span>Hi,</span></div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr"><span id="yui_3_16_0_ym19_1_1488794170278_33168">I am developing an interpreter using BON2Component which will create connections between two selected Object's ports.</span></div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr"><span id="yui_3_16_0_ym19_1_1488794170278_33302">For this I need to get port location. I can get location of an object using method mentioned below</span></div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr"><span id="yui_3_16_0_ym19_1_1488794170278_33303">BON::Point pt = BON::FCOExRegistryNode( fco ->getRegistry())->getLocation("");<br></span></div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr">However, I need to determine which port is in left side and which is in right side of the model. It must be implemented somewhere in GME.</div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr">Please can anybody give me any suggestion how can I separate ports as left hand side and right hand side based on location ?</div><div id="yui_3_16_0_ym19_1_1488794170278_28189" dir="ltr"><br></div><div></div><div id="yui_3_16_0_ym19_1_1488794170278_28186"> </div><div class="signature" id="yui_3_16_0_ym19_1_1488794170278_28188"><font face="HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif" size="2" id="yui_3_16_0_ym19_1_1488794170278_28187">Thanks & Regards<br>Somesh Das<br><br></font></div></div></body></html>