Menu customisation

Menu customisation

Anonymous
Not applicable
771 Views
3 Replies
Message 1 of 4

Menu customisation

Anonymous
Not applicable

I'm just wondering why the bottom line requires you to hit enter on the keyboard after the c and circuits and the top line runs straight through to asking for a file name to save the data in? I have tried semi colon and ^M after c and circuits but nothing works, you have to hit enter. Driving me nuts!

 

ID_OBJfile [Make Dwg Data File]^C^C^P-attext c circuits.txt ^P
ID_OBJselt [Select Dwg Data]^C^C^P-attext o c circuits.txt ^P

0 Likes
772 Views
3 Replies
Replies (3)
Message 2 of 4

Kent1Cooper
Consultant
Consultant

I rarely use Attributes, and virtually never ATTEXT, but the O option called for there is for selecting Objects, and you haven't included anything in the macro to allow for that, so the C then called for would be taken as asking for the first corner of a Crossing window for selection.  If you are always going to select one object only, a backslash is the stand-in for a single User selection -- try this variant [untested]:

 

ID_OBJselt [Select Dwg Data]^C^C^P-attext o \ c circuits.txt ^P

 

If you don't know how many objects you'll want to select, the SELECT command in a macro will let you select as many as you want, including options like Remove and Window and so on, within the user-selection represented by a single backslash.  Then what was selected becomes the Previous set, which can be used in the ATTEXT command to follow.  Try this variant:

 

ID_OBJselt [Select Dwg Data]^C^CSELECT \^P-attext o P;;c circuits.txt ^P

Kent Cooper, AIA
0 Likes
Message 3 of 4

Anonymous
Not applicable

The plot thickens. The first option does not solve the problem and the second somehow disables FILEDIA and insists on using the command line even if I set it to "1". I had not thought of the c being taken for crossing although I use C and W all the time to force a window or crossing when its difficult find a space to pick a clear part of the screen. So still a bit weird then. Might have to write a whole program to solve it!

0 Likes
Message 4 of 4

Anonymous
Not applicable

Maybe I should try "pause"?

0 Likes