Solid dot joining the nets in DxD when select and right click, showing Net pop up menu but not functioning as Net Object.
Whether this is a bug in Mentor because this is not an object.
How to track the Dot?
I am not sure what you mean here - are you saying that with RMB on the connection dot, the RMB menu appears and gives the same options as for a net object ? I can confirm that.
Next thing you are saying that with that object selected via AUTOMATION, you do NOT get access to properties/methods for the net objects.
Just so we understand - posting your code may help to understand ;-)
Yes exactly when i select a Net right click (Net pop up menu and click on one tab) my automation script work perfectly and add a property on Net (say a Net Label). But when i select Dot only and right click it shows Net pop up menu but my same automation script does not add any property on Net or Dot.
Which mean that Dot is not a Net object because i am running the Net object query on view-draw application. But then why Dot is showing the Net pop up menu?
For Each Net in Activeview.Query(32, 1)
I am not sure I understand your usecase. I agree that it is odd that the selection of the dot lets the MB menu appear as if it were a net (while it clearly isn't).
But what is your intention - what do you want to do with the dot ? Maybe there is a workaround. The code doesnøt reveal much ;-)
I have a script which is populating the Net label when we select net-> right click->click tab "ADD LABEL" (Menu option created by me). So whenever user select Net and right click and click "ADD LABEL" then it ask for label to be add to enter and then populate the Net Label on the net.
But when we by chance select Dot then click on "ADD LABEL" then nothing is occurring. So this is the concern raised by the user of my application that why my script is not working in this case. If this is a bug then we can report to Mentor.
I hope you understand my intentions and as well the problem!!
Please suggest for any workaround!
One workaround is to check if the label object exists (label object will be null, if the label has not been added which happens if the user has a solder joint selected, instead of a net segment i.e. line) and if not then prompt the user to select a net segment (i.e. line). Workaround # 2 is to go thru all segments of the net in question and check to see if any net segment is selected (this will return a false if a solder joint is selected) and if zero net segments are selected then your script can choose a net segment in the vicinity of the solder joint for adding the label OR prompt the user to select a net segment (line).
Retrieving data ...