cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Hook file for beginners

jlambertz
1-Newbie

Hook file for beginners

As previous post I suggested I'm a total beginner. Not much of a scripting or batch file guy.


I have been successful creating a pre-update hook to copy a desktop file to new desktop file. I learned about the hook log file.


My goal is to collect a set of Gerber files from design folder, zip, and place in new content location.


Small baby steps first. How toread andsetthe currentdesign_dir in a batch file. Perhaps, how topipe current valuesinto a file so I can learn how this works. From there, what is the stratage to use the Hook_Input and Hook_output? Is this used tocollectdata so as to pass into the the batch file and write out so as to pass info to next hook operation if exists?



echo DESIGN_ITEM = %DESIGN_ITEM%


0 REPLIES 0
Top Tags