Get worldposition of a motor6d weld

I have been trying to figure out how to get accurate world positions of a motor6dweld. I know C0, C1 are properties and they contain position but I assume they are in localspace. What I want to achieve is to get the worldposition in a Vector3 of the motor6dweld. Are there any mathematical functions to convert the properties of a motor6dweld to the worldspace coordinate?