Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: Anonymous

You can do what that menu item probably does behind the scenes:  Use the MULTIPLE "prefix" command:

 

Command: MULTIPLE

Enter command name to repeat: POINT

Current point modes: PDMODE=0 PDSIZE=0'-0"
Specify a point: .... {as many as you want} ....

 

You could simplify that by adding MU as an alias for MULTIPLE with ALIASEDIT.

 

You can put that into a macro command in a Tool Palette button:

 

^C^C_.multiple _.point

 

or, alternatively, with the *^C^C prefix that makes what follows repeat automatically:

 

*^C^C_.point

 

Or, you could even UNDEFINE the native POINT command, and make your own new definition of the command, incorporating the MULTIPLE command before calling up POINT.  That could have one advantage over all the above approaches: it could be built to allow Enter or the space bar to end it, in addition to ESCape [all the above approaches require ESCape to end them].  It would also have the advantage that you could just type in POINT or even just the alias PO at the command line [not limited to picking on a menu item or typing in two command names], and it would use your definition of the command.  If that is of interest, write back.

Kent Cooper, AIA