Page 1 of 1

EDITING A TOOLBAR PART 2

PostPosted: Mon Sep 09, 2013 4:00 pm
by jbaldeo
OK, SO I FOUND OUT THAT YOU HAVE TO TYPE CUI AT THE COMMAND PROMPT IN AUTOCAD 2013 TO EDIT A TOOLBAR (THANKS FOR THE HELP EVERYONE), BUT NOW I CAN GET THE MACRO TO WORK. WHEN I SELECT HATCH AT THE COMMAND PROMPT IT READS "AHTCH Pick internal point or [Select cbjects seTtings] :" NOW I HAVE TO LET IT ACCEPT THE LETTER t SO THAT THE DAILOQUE BOX APPEARS, BUT I DON'T KNOW HOW TO ADJUST THE MACRO FOR IT TO ACCEPT THE "T", ANY SUGGESTION ANYONE?

Re: EDITING A TOOLBAR PART 2

PostPosted: Tue Sep 10, 2013 1:36 pm
by Streek
a semicolon is an ENTER
a backslash is a PAUSE FOR USER PROMPT


so, the macro might be:


^C^C_bhatch;t;

that should work

Re: EDITING A TOOLBAR PART 2

PostPosted: Tue Sep 10, 2013 1:43 pm
by Streek
I reread your post,

If you want the dialog box to appear use this code instead:


^c^cHATCH;






(NOT BHATCH, JUST HATCH)

Re: EDITING A TOOLBAR PART 2

PostPosted: Tue Sep 10, 2013 3:08 pm
by jbaldeo
TRIED ;T; BUT WHAT I GOT WAS - "Command: _hatch
Enter a pattern name or [?/Solid/User defined/Gradient] <ANSI31>: T
Unknown pattern name." I ALSO TRIED ; WITH JUST HATCH AND IT JUST DOES NOT DO ANYTHING, I MAY HAVE TO EXPERIMENT A LITTLE MORE, MATBE I AM NOT SELECTING THE CORRECT HATCH COMMAND FROM WITHIN CUI.

Re: EDITING A TOOLBAR PART 2

PostPosted: Tue Sep 10, 2013 3:52 pm
by Streek
Also, a SPACE is an ENTER.

This will screw things up because you don't see it, make sure you have no spaces at the end.

If you end your macro with two ENTERs, you merely cancel out of the command.

Re: EDITING A TOOLBAR PART 2

PostPosted: Wed Sep 11, 2013 2:45 pm
by jbaldeo
STREEK, THIS IS WHAT I AM DOING - FIRST I USE "CUI", THEN IN "CUSTOMIZATION IN MAIN FILE" I SELECT ACAD13TB.CUIX THEN "TOOLBARS" THEN "DRAW" THEN "HATCH", THEN ON THE RIGHT SIDE (THE PROPERTIES) I SELECT THE MACRO LINE AND EDIT IT USING ^C^CHATCH; BUT NOTHING HAPPENS, IT'S AS IF I DID NOT CHANGE ANYTHING, BY THE WAY I AM WORKING WITH AUTOCAD 2013

Re: EDITING A TOOLBAR PART 2

PostPosted: Thu Sep 12, 2013 1:00 pm
by Streek
If you have a space after ^c^chatch;

nothing will happen, it will cancel out of the command because you have 2 enters after the hatch command.

If that is not the problem, I don't know what is.
Good Luck.