Hi
That seems to be the approach. A quick search on theBuildingCoder turns up this:
http://thebuildingcoder.typepad.com/blog/2015/12/wall-opening-profiles-and-happy-holidays.html
While there are a lot more items that would be worth your time to review:
I seem to remember a wall set-out coordinates post also.
Cheers,
-Matt