Page 1 of 1

WRITING A ROUTINE IN A TOOLBAR

PostPosted: Fri Nov 16, 2012 9:39 pm
by jbaldeo
Could anyone explain how I can write a routine in a toolbar to draw a leader with a curve using just 3 picks ? Presently I would have to select Dimleader, pick the first and second point, then select F (Format), then enter, then select SP (Spline), then enter, then pick the third point, then enter and enter again and then select N (None) and then enter to complete.
JB1

Re: WRITING A ROUTINE IN A TOOLBAR

PostPosted: Sat Nov 17, 2012 12:58 am
by gskelhorn
For a three point spline leader with no text try this in the command of a toolbar button:
Code: Select all
^C^C_LEADER;\\_FORMAT;_SPLINE;\;;_NONE


The ^C are cancels to get out of any command running.
The ; are enters.
The \ are pauses for user input.

Re: WRITING A ROUTINE IN A TOOLBAR

PostPosted: Tue Nov 20, 2012 7:40 pm
by jbaldeo
it worked!! thank you, I needed the user input and \ was it, thanks again

Re: WRITING A ROUTINE IN A TOOLBAR

PostPosted: Mon Nov 26, 2012 12:47 pm
by gskelhorn
Your welcome... glad it helped :-)