Quantcast
Channel: AutoCAD LT Forum topics
Viewing all articles
Browse latest Browse all 9826

Command Line -plot scale error or problem.

$
0
0

Hi, 

 

I could really use some help here as I cannot quite understand why AutoCAD 2011 LT is behaving this way. This post applies to plotting using the command line for batch plotting purposes.

 

So I have written a program that outputs an AutoCAD script that prints numerous drawings quickly. The script file obviously uses the AutoCAD’s command line as its input interface. Where I have run into problems is actually printing the file to the correct scale.

 

Anyone that is familiar with the command line interface in AutoCAD knows that most of the time when a command is issued and the user is prompted for input, AutoCAD also presents a <default option> at the end of the prompt that can be selected by using a hard return or simply giving no input. This default option is what I rely on for my batch processing as each drawing has slightly different plotting options such as paper size and scale. I have had much trouble with the following prompt;

 

Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <1=1>:

 

This prompt can be found by using the following 4 line script;

 

-plot Y Model

Adobe PDF

Letter

Inches Landscape N E

 

The error or problem that I am experiencing is that when the default <1=1> scale is used it does not actually plot at this scale. However if the default is <1=1> and 1=1 is provided as user input the correct scale plots. 

 

In the following example the prompt will be left blank or responded to as shown and the resulting plot.log entry is presented.

 

(Prompt and response) Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <1=1>:

(Plot.log entry)  P:\......\Componant_Xsection.dwg,Model,2/8/2013 3:30:43 PM,Adobe PDF,Letter,1:0.934093,

 

(Prompt and response) Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <1=1>:1=1

(Plot.log entry)  P:\......\Componant_Xsection.dwg,Model,2/8/2013 3:29:47 PM,Adobe PDF,Letter,1:1,

 

As you can see by using the default the actual scale printed is incorrect at a 1:0.934093, but if you manually enter the scale 1=1 then it is plotted at the correct 1:1 scale

 

Please if anyone could help me that would be much appreciated. 

 

 


Viewing all articles
Browse latest Browse all 9826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>