Hi,  I will be sharing some new code for NEThooks using C++/Cli . The following code chains all the selected geometry in the Mastercam file and Colors it green if the chain is closed and red if the chain is open. I used inline recursion functions to iterate through the array, the inline keyword is there to ease pressure on the stack from repeated function calls. the Delegate keyword created managed callbacks that you can use to pass a function as a parameter to another functi