an AutoLISP routine provides an enhanced DIMLINEAR command to put linear dimensions on a specific layer.