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

    Ipc356b netlist

    mans.joling

      Hello,

       

      Is there a way to make a ipc356b netlist thru automation

       

      Regards

       

      Mans

        • 1. Re: Ipc356b netlist
          lary.e

          Hi,

          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

           

           

          HTH

          Lary

          • 2. Re: Ipc356b netlist
            renjith.varughese

            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
              lary.e

              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.

               

              HTH

               

              Lary

              • 4. Re: Ipc356b netlist
                BoarderGrl

                Lary,

                 

                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")

                 

                 

                Thanks,

                Andrea

                • 5. Re: Ipc356b netlist
                  sbarker

                  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
                    Patrick.Cashman

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