If you are wondering how to set the decimals and the text style for dimensioning then you can set that up in the document properties.
Pull down menu TOOLS, all the way down you'll find OPTIONS
This will bring up a window with 2 tabs
go to the second tab DOCUMENT PROPERTIES
in there you have lots of options that you set including what kind of text style to use as well as how many decimals and such
you can then either save the document as a template or you can save the drafting standard so that you can load that standard in other drawings
I hope this addresses your questions.
Have a nice one
Are you looking it to do via Macro Or simply by changing the settings? Macro could be an easy way but like Peter said you may have different template OR even you can create different drafting standard and switch/change them in the models/drawings as required.