3 Replies Latest reply on Oct 1, 2014 7:05 AM by svmoore

    How to create script file and run

    jeffy.james

      Please let me know how to create script for expedition EE7.9.5 version and run procedure.

       

      Actually i need to get height properties of all components used in layout and get as doc.Please help

        • 1. Re: How to create script file and run
          svmoore

          Hi Jeffy.James,

           

          I can't help you with scripting, but you can get this information using Report Writer in Expedition.

           

          -Invoke Report Writer

          -Select Physical board data

           

          -Press Tool Launcher

           

          -Select Expedition PCB Physical Tool

          -Press Reports

          -Select partprops.rpc

          The report will open in a Crystal Reports preview window, which can be saved in a number of different formats.

           

          Of course, this assumes that all the parts in the design have a height property assigned in the library.

           

          Hope that helps!

           

          Sue

          • 2. Re: How to create script file and run
            jeffy.james

            Hi Sue,

             

            Thanks for your reply.

             

            The report generates through partprops.rpc doesn't have information on height of the part. Only description, partname name&label ,value ,type and footprint name.

            any idea to add this height property in this report or in some other way to check all components height.

             

            Thanks,

            Jeffy

            • 3. Re: How to create script file and run
              svmoore

              Hi Jeffy,

              I’m sorry that hasn’t worked for you.  Like I said, it is dependent on the ecad librarian entering that information when the part is created.  (The height should be included in the manufacturer’s datasheet.)  The component height becomes a property of the cell.  If that information is NOT included in the part, then the database has no way to gather or report it.

              Check the “Part Properties” on a few random components in your design.  Check to see if “Mount Height” is a non-zero number in the lower portion of the dialog box:

              [cid:image003.png@01CFDD45.FE1D03B0]

               

              If the information is available, Report Writer will find and gather it.

               

              Below are several entries from partprops.txt from a design I am working on (units=th).

               

              000000096

               

                      Part Name                  Part Label

                     5PCON                       5PC USB MINI-B VERT

                      Top Cell                   Bottom Cell

                     CN_HDR_THRU_5P_2MNT_0.8S

               

              CONN 5P USB MINI-B VERT

               

                Name                          Value

              Type                           Connector

              SCH VALUE                      5PCON

              Load Option                    0T

              Height                         185.0394

              000000099

               

                      Part Name                  Part Label

                     4PCON                       4PC USB B-TYPE THRU RA

                      Top Cell                   Bottom Cell

                     CN_JACK_USB_4P+2S_RT_.43

               

              CONN 4P USB B-TYPE THRU RA

               

                Name                          Value

              Type                           Connector

              SCH VALUE                      4PCON

              Load Option                    0T

              Height                         433.0709

              000000100

               

                      Part Name                  Part Label

                     40PCON                      40PC 1mmSP 2ROW RA HDR

                      Top Cell                   Bottom Cell

                     CN_HDR_SMD_40P_2MNT_20X2

               

              CONN 40P 1mmSP 2ROW RA HDR

               

                Name                          Value

              Type                           Connector

              SCH VALUE                      40PCON

              Load Option                    0M

              Height                         324.8031

              000000101

               

                      Part Name                  Part Label

                     50PCON                      50PC FLIP GATE FFC/FPC W/

                      Top Cell                   Bottom Cell

                     CN_HDR_SMD_50P_.5MMSP_FL

               

              CONN,50P,FLIP GATE,FFC/FPC W/TABS

               

                Name                          Value

              Type                           Connector

              SCH VALUE                      50PCON

              Load Option                    0M

              Height                         100.3937

              000000106

               

                      Part Name                  Part Label

                     8PCON                       8PC USB DUAL STACKED A TH

                      Top Cell                   Bottom Cell

                     CN_HDR_THRU_8P_4M_DUAL-U

               

              CONN 8P USB DUAL STACKED A THRU

               

                Name                          Value

              Type                           Connector

              SCH VALUE                      USB_DUAL

              Load Option                    0T

              Height                         614.1732

               

              So, I guess the take-away for you is that component height must be included as a property of the part in the library in order to pull the information out.

               

              Beyond that, I have no other suggestions for you.

               

              Good luck!

               

              Sue