Get output or properties of objects

Hello, I am using physx sdk 4.1. I want to receive force/position of an object. I am not able to get these information from documentation. I am using visual code 2017 and c++. Can anyone suggest how to get values of objects so that I can use it for another programs as an input