[Search tip detail and code files using keywords, tip number, author name, etc ]
Disable a Pesky Pedit Prompt
Tip# 3362 By Paul Owens On 08-Mar-2010
Rated By 1 users
Categories : Polylines
Software type : AutoCAD 2010
Rename File To : No Files to download.
Set a system variable to disable an unnecessary prompt.

Paul Owens, a CAD systems administrator, dislikes unnecessary prompts. Here is his tip on dealing with one such annoyance.

"We often use the Pedit command to turn ordinary lines and arcs into polylines. But whenever we select a line or arc in the Pedit command, AutoCAD responds with the following prompt:

Object selected is not a polyline. Do you want to turn it into one? <Y>

Of course we know the object selected is not a polyline, and of course we want to turn it into one. If you find this extra prompt to be a waste of your valuable time, then be sure to set the system variable PeditAccept to 1. This setting will disable that unnecessary prompt and immediately turn the object(s) you select into a polyline."

Notes from Cadalyst Tip Patrol: I share Paul's frustration about this prompt. Even if I didn’t know an object wasn’t a polyline when I selected it, I must want it to be a polyline, because I chose to use the Pedit command. This feature must have been put in by a lawyer at Autodesk!


Average Rating:

User comments
Comment by Anonymous
Posted on 2010-03-08 16:14:58
Ive taken this tip a step further and added the code ^C^C_pedit;y;; into double click actions for both lines and arcs. Now, I no longer have to use the pedit button/command. I simply double click a line or arc to automatically turn it into a polyline and then double click it again to run the pedit command.