STD.LSP AutoLISP routine sets LTSCALE, then creates a dimension style and text style based on the scale factor you entered.