How can I put dimension relative to component center in Altium Designer?
Just figured out.

All you have to do is to enable "Component Reference Point" in view configurations dialog:

Then all components will have a Reference Point. Now the dimension tool have the snap point to be used: