Automatic Layer Change When Dimensioning

Rhino v4

Is there a way to configure Rhino v4 to automatically switch to a specified layer whenever using the various Dimensioning commands and then switch back to the previous layer after the Dimension command is completed?

Thanks

Assuming you always dims on a consistently named layer, you could change the macros on the dimensioning buttons (or make your own) to put the just-made dimension on the dim layer: e.g.:

! _Dim _Pause _Pause _Pause _SelNone _SelLast _-ChangeLayer "My dimension layer" _SelNone

-Pascal

PERFECT!!! Thanks

How could I add a Dimension Style change to this button macro? My Dimension Styles are named 1mm Height, 2mm Height, 5mm Height, etc.