AutoCAD 2018 changing answer to plot script

AutoCAD 2018 changing answer to plot script

tkassma
Community Visitor Community Visitor
314 Views
3 Replies
Message 1 of 4

AutoCAD 2018 changing answer to plot script

tkassma
Community Visitor
Community Visitor

Command line.PNG

Script.PNG

When I run this plot script, AutoCAD changes the answer of the "Detailed Plot Configuration" question from Y to N. 

Please help as I've run out of troubleshooting ideas.

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

pendean
Community Legend
Community Legend

It appears you cut your screenshot a little too short, something else seems to be going on

pendean_0-1663264759446.png

 

0 Likes
Message 3 of 4

Kent1Cooper
Consultant
Consultant

It didn't change it.  It's just showing the default offered, which is what pointy brackets always indicate in AutoCAD, and as with all the subsequent prompts.  What the Script is feeding to it is not appearing at any of them, so it doesn't there, either, but that doesn't mean it isn't feeding them in.  [What is your CMDECHO setting?  I don't Plot from Scripts, so I'm not sure whether those prompts appear even with command echoing turned off, or whether you can get it to show you the answers it's feeding in, but I imagine there's a way.  The -PLOT initiation of it all doesn't appear, so I suspect CMDECHO is off, which would be why you don't see your answers fed in, even if it doesn't suppress those prompts.]

 

Note near the end the same situation:

  Save changes to page setup [Yes/No]? <N>:

is offering N as a default, where your Script has Y there, which I suspect is also being fed in.

 

Other evidence that what you see in pointy brackets is not what is being fed in as answers:  The paper size line shows a capital D in the default, but if what you see there was what the Script is supplying, it would be a lower-case d.

 

If it really was putting in No as the answer [not just offering a default] to the question whether to get into Detailed plot configuration, would it go on to ask all those other questions?  I think the Yes answer is getting through.

Kent Cooper, AIA
0 Likes
Message 4 of 4

tkassma
Community Visitor
Community Visitor

Thanks

0 Likes