There are more than one way to skin this particular cat, but the method you've just described is a perfectly valid one, and so long as you've done it all sufficiently carefully, and have remembered to ensure that your measuring line from datum is horizontal in the flight attitude, I think it's absolutely correct.
G