Author Topic: Capturing the command prompt  (Read 1400 times)

0 Members and 1 Guest are viewing this topic.

Peter Jamtgaard

  • Guest
Capturing the command prompt
« on: January 18, 2013, 04:19:59 PM »
Has anyone found a direct way to capture the prompt for command line commands in AutoCAD?

Like while running the pedit command the prompts are:

Select polyline or [Multiple]:

Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Reverse/Undo]:

I want to determine the options (capital letters in this prompt)

Thanks in advance.

P=

TheMaster

  • Guest
Re: Capturing the command prompt
« Reply #1 on: January 20, 2013, 03:51:33 AM »
Has anyone found a direct way to capture the prompt for command line commands in AutoCAD?

Like while running the pedit command the prompts are:

Select polyline or [Multiple]:

Enter an option [Close/Join/Width/Edit vertex/Fit/Spline/Decurve/Ltype gen/Reverse/Undo]:

I want to determine the options (capital letters in this prompt)

Thanks in advance.

P=

You don't need to 'capture' the command line to find out those things.

See the Editor's PromptingForXxxx and PromptedForXxxxx events.

Peter Jamtgaard

  • Guest
Re: Capturing the command prompt
« Reply #2 on: January 22, 2013, 03:47:32 PM »
Thanks...

I found that I had played with that problem a couple years ago and found the assembly I had created then to speak the command prompts...using the promptingfor events...

I forget half the code I write and rewrite it.  :-o

I modified that code to suit the new application I am building...

P=