Theodorus, a design engineer, sent in a routine that allows you to set the current dimension style by selecting a dimension object. Because you are picking a dimension entity, you don't have to know the name of the style — as you would if you were using the pull-downs in the Annotate tab of the ribbon or the Dimensions toolbar. Load the LISP file, then start the command by entering SM at the Command line. Choose a dimension, and the style of that object will be set as the current style. If you look at the code, you can see that Theodorus is simply scripting the -Dimension command. This is a good example of automating built-in commands. |