Quantcast
Channel: Cadence PCB Design Forum
Viewing all articles
Browse latest Browse all 5525

Ask for help about Capture TCL/TK command's usage( GetDBCName in CPMgtCfg class )

$
0
0

HI! Everyone!

I'm a starter and want to use Capture TCL/TK commands for doing some automate function in Capture Schematic design.

I want to update all the place-instances' user prop. from SQL server( config in DBC ). Maybe I can do it by "CTRL-L" command to LINK to database one by one, but so many instance...it's a hard work, so I need to make a TCL command and do it automately.

I think  I need to get access to the database part which is  config in "capture.ini" and "demo.dbc" files.

I don't know where can I start firstly, as there was less infomation, even searching in google. So, I learn about it in "OrCAD_Capture_TclTk_Extensions.pdf", and find something may help.

In the PDF, there is some functions about the database operation in  CPMgtCfg class such as GetDBCName, GetFirstTable, GetNextTable...

But, I don't know how to use the functions, there is little details.   Is there anyone help? Thanks a lot!


Viewing all articles
Browse latest Browse all 5525

Trending Articles



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