hexagon logo

Tracefields and Scripts

Anyone out there know how to retrieve a Tracefield Value from a part program in a script? Can't quite find the right command...
Parents
  • In the script you are working on you have

    D:\CMM_PROGRAMS\DIRECTORY_FROM_A_BUNCH_OF_VARIABLES\ RESULTS\

    In the script that works (except in bladerunner) you have

    Part.Path\ RESULTS\DIRECTORY_FROM_A_BUNCH_OF_VARIABLES\

    Where Part.Path is the directory the part program lives in. I was just noticing that the RESULTS folder is in a different spot.

    edit: I tested the \\ vs \ thing - it seems that it doesn't matter. It works either way.


    The folders are in the same spot. The reason I didn't use the Part.Path is that BladeRunner copies the chosen program and runs it in a "temp" folder. It would interpret Part.Path as the temp folder.
Reply
  • In the script you are working on you have

    D:\CMM_PROGRAMS\DIRECTORY_FROM_A_BUNCH_OF_VARIABLES\ RESULTS\

    In the script that works (except in bladerunner) you have

    Part.Path\ RESULTS\DIRECTORY_FROM_A_BUNCH_OF_VARIABLES\

    Where Part.Path is the directory the part program lives in. I was just noticing that the RESULTS folder is in a different spot.

    edit: I tested the \\ vs \ thing - it seems that it doesn't matter. It works either way.


    The folders are in the same spot. The reason I didn't use the Part.Path is that BladeRunner copies the chosen program and runs it in a "temp" folder. It would interpret Part.Path as the temp folder.
Children
No Data