hexagon logo

Has anyone made a script to list all used probes (tips) in all programs?

Has anyone made a script to list all used probes (tips) in all programs (in a certain folder)? Technically it should be possible - get a list of all programs, open them one after another, scan for LOADPROBE and TIP commands, collect data.

But has anyone already done it? And is able to share?
  • I agree. I will clean them up but the purpose for us is when I finish compiling a list of unique part numbers I'm going to forward that to planning and find out what jobs are obsolete or run less than once every 5 years.

    I want to eliminate those tips from our normal calibration program.

    We always have the majority of a weekend to run a full calibration and because of that the previous programmers just kept adding tips to our calibration until it's now 24 hours long. The less time that program takes the more flexible we can be when something unexpected happens. This will be extremely helpful in knowing what tips I can and can't eliminate once I have that information from planning.

  • Andersi: THANK YOU! The file worked perfectly! I had to copy and flatten my file folders to get it to include all files
    A quick way to flatten files in folders:
    Copy the entire folder (to avoid messing it up!)
    open CMD.exe
    type "CD\ (your file folder location)" hit enter
    type in the following: (less quotes) " for /r %f in (*) do @copy "%f" ." --BE SURE TO include the period at the end, it's necessary.
  • Be careful with flattening if the same probe file name is used in more than one subfolder!
  • I know it's a little late, but i made an excel document that lists all files in a directory and sub directories.
    You could potentially expand your document to look in a whole directory & sub-levels.

    Something you may be interested in.
    would prevent users from having to flatten.

    Also here is a flatten cmd file, that doesn't remove copies.
    Just appends a number to it.
    All you have to do is drop the folder on the cmd file you want flattened.
    It also flattens sub-folders.