I'd like to hear what other people have come up with. The only way I could
figure out how to do it was to have my script independently open my own
connection to the ODBC database (ADODB.Connection) that was serving DxDatabook,
perform a query (returning ADODB.Recordset) to look for the part I wanted,
return the fields necessary for me to place the part, and place the part (using
either View.AddComponent or View.AddPartInstance, I believe depending on Mentor
version...)
For that matter, in EE2007.x is there a way just to search the parts database
separately from DxDatabook? I've been having trouble finding general
documentation on the automation objects.
Dylan Constan-Wahl
HW Design Engineer
Gentex Corporation