Access to bUseAccelerationForPaths from C++

I am still stuck in this problem, Could you share your solution in detail