In orekit v11.2, the frame transformation is improved.
An interface StaticTransform is added, which contains the followings methods transformPosition, transformVector and transformLine.
So, in Python, an instance Transform needs to be cast as StaticTransform to use the method transformPosition.
Or the error occurs, AttributeError: 'Transform' object has no attribute 'transformPosition'.
Wow I didn’t realize that would be a side effect. That seems very annoying to have to do. It also makes it seem that the Python interface is unable to use Java’s polymorphism, which is the main benefit of using an object oriented language.
I’m guessing you’re using orekit 12, because in this version the method you’re trying to use is defined in a new interface called LOF. So try casting with that instead of LOFType.