There is no method of finding component quickly by RefDes.
If it's UID, you will be able to quickly find.
1 of 1 people found this helpful
How about creating a script that runs internally (attaches to DxDesigner by internal client) and make python code just call the script running internally? It will be much helpful to export an ascii file by internal script and read the file by python.
In terms of performance, there is no comparision between internal cllient and external client.
Yeah, this is a possibility. In the past with Expedition, I've created .NET assemblies that were COM servers that VBScript would create and run (I loathe VBScript ;). If this the route I have to take, so be it. But, it would be nice if Mentor could just expose something like:
what is the VB / Automation way to quickly find a component by knowing its UID ?
Can you please post something.
It's SelectComponent or SelectPath method.
Function SelectComponent(sSchName As String, sSheetName As String, sCompUID As String) As Boolean
Function SelectPath(FileName As String, HierPath As String, SheetNumber As String, Type As Long, AddSelected As Boolean, SearchBus As Boolean) As Boolean
Call dxdApp.SelectComponent("schematic1", "", "$2I5")
Call dxdApp.SelectPath("schematic1", "$2I5", "", 0, False, False)
Since SelectComponent is an old method, it is not indicated in a manual.
SelectPath is indicated.-> Here