How to get changed or not changed mesh of the animated gameObject ?

Hello, for not animated objects, people are using

    GetComponent<MeshFilter>().mesh

But I have an animated object, so it gives me null.
In my situation, I have only 1 bone attached to each object. I need (doors of the car), so:
I need to get raw objects mesh without any animation and so on, just raw data, as it was written in fbx.
Or I need to get final mesh after animating, both variants are good.
I am using C#.
Is there any way to do that ?

Ok. Have you tried using the sharedMesh property?

Also as a side note. If your mesh is skinned, you should be using a SkinnedMeshRenderer instead of a MeshFilter.

GetComponent<SkinnedMeshRenderer>().sharedMesh;