6 Replies Latest reply on May 22, 2012 5:49 AM by Patrick.Cashman

    Ipc356b netlist




      Is there a way to make a ipc356b netlist thru automation





        • 1. Re: Ipc356b netlist


          This is not really automation but by script (real code depends on your language).


          1.run dbauto -> $ENV{SDD_COMMON_BIN}\\dbauto.exe vbpcb=$jobName;

          2. run ipc->        $ENV{SDD_HOME}\\wg\\win32\\bin\\ipc356.exe $pcbpath\\vbreport\\output\\VBPCBP.mdc





          • 2. Re: Ipc356b netlist

            Hello Lary,


            Thank for the input. Does the second point work in command line?


            When i run in command line, the tool opens "Open Report Writer PCB Database" window


            Didnt get a script to select the .mdc file



            Thanks and regards,


            Renjith Varughese

            • 3. Re: Ipc356b netlist

              Hi Renjith,


              Yes these should work from the command line.

              replace $jobName with the full path including the pcb file  (.pcb)

              and replace $pcbpath with the full path to the PCB directory so that it points to the mdc file that was generated in the first command.





              • 4. Re: Ipc356b netlist



                I am having issues with this. This is the code I use and I still get a two questions. The first asks to "open Report Writer PCB Database", and it is asking for the .mdc file. When the VBPCBP.mdc file is clicked,  a "IPC-D-356 Generation" dialog pops up with the database name filled in correct and waiting for an "OK". I want to know how to get around these user responses. After running this I notice I have a new ipc file, but I don't have a new db file. I also used dbcreate.exe and get the same response.


                Dim objFile, objPath, objFSO, mdcPath, wholePath

                Dim pcbAppObj

                Dim pcbDocObj

                Set pcbAppObj = Application

                Set pcbDocObj = pcbAppObj.ActiveDocument

                objFile = ActiveDocument.FullName

                Set objFSO = CreateObject("Scripting.FileSystemObject")

                Set objFile = objFSO.GetFile(pcbDocObj)  

                objPath = objFSO.GetParentFolderName(objFile)

                mdcPath = "\vbreport\output\VBPCBP.mdc"

                wholePath = objPath & mdcPath


                call pcbAppObj.Gui.ProcessKeyin("run c:\MentorGraphics\7.9.2EE\SDD_HOME\wg\win32\bin\dbauto.exe vbpcb=objFile")


                call pcbAppObj.Gui.ProcessKeyin("run c:\MentorGraphics\7.9.2EE\SDD_HOME\wg\win32\bin\ipc356.exe -db=wholePath -pcb=objFile")





                • 5. Re: Ipc356b netlist

                  I'm new to the expedition tool and trying to write similar automation.  I also notice that mdc file does not seem to get created with dbauto or dbcreate via automation.  Did you ever get a solution for this?

                  • 6. Re: Ipc356b netlist

                    sbarker, see this thread.  Kendall Hiles from Mentor wrote a script that extracts the ipc356 netlist directly from the database.