You’ll have to be more specific in your request, as the D Marker 21 already does this. When using, say, “Door 21,” the A & B values represent the wallhole dimensions, with the frame, leaf dimensions, casings etc being inside that. You can set offset and door undercut values already, and dimension the sill.
Is this not what you were after?
AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8Mb