Trying to get rhino mesh transform (4x4) before or after it is applied

I need to find out the transform being applied to the mesh so I can use it to do other calculations. I’ve looked everywhere and I don’t see it. BeginTransform / EndTransform both seem to be the right spots, but there’s no useful arguments to those methods. Where can I find this info?

Aka if I move my mesh, I’m looking for something that has the translation info. Same for rotations and scales.

Edit: to clarify, I’m not interested in the dynamic drawing transformations, just the concrete final ones applied to the geometry.

Hi @gccdragoonkain,

If you are attaching user data to the mesh, then override ON_UserData::Transform.

Be sure to read the developer notes in opennurbs_userdata.h, specifically for the ON_UserData::m_userdata_xform member.

– Dale

Big help! Thanks Dale