How to get UVs for SubD with RhinoCommon or rhino3dm.py?

@Jussi_Aaltonen thanks. This does work, but seems it only works with the default UVs. Here is a simple test file with changes UVs (using the Rhino8 unwrapper), where I can’t read the texture coordinates this way: subd_plane_UV.3dm (84.8 KB)

I assume, that it is for a similar reason I stumbled upon here (for meshes): How to read all Texture Coordinates of a Mesh in RhinoCommon? - Rhino Developer - McNeel Forum

So far I couldn’t figure out how to get the TextureMapping mesh for a mesh with rhino3dm or openNurbs and I assumen, it’s a simliar situation for SubDs.

Do you have any hints?