Code in C++.
Jokes aside, the current version does not have any pressure access aside from tpt.set_pressure.
The next version should have new functions to get/set pressure and a few more.
Also "wouldn't even compile (even when EVERYTHING WAS CORRECT)" doesn't make any sense, it would compile if it was correct. Also the actual method of creating an element is exactly the same as before.