Journal for Report Shortest Tool length for all CAM operation

How do I make a journal for creating a "report Shortest Tool" for all the selected operation? Any Idea? or Any one can share the the journal if he/she has.

Unfortunately, I don't have much code dealing with CAM operations. If you don't get a response here, you might consider posting the question to the Siemens NX programming and/or manufacturing forums.

Link to programming forum:
https://community.sw.siemens.com/s/topic/0TO4O000000MiiWWAS/nx-customiza...