I'm trying to plot in pdf many dwg file.
The files have a fixed height but variable in length.
The length of the file I'll take the "scroll".
So i want to create a paper size with a specific dimension.
psv.SetPlotConfigurationName(ps, "DWG To PDF.pc3", "Name of the paper");
How can I do?
Read this article carefully
I'm sorry but when i try to start this code, i have the following error:
eInvalidInput at the line 'num'
num psv.SetPlotPaperUnits(layout, units);
How can i resolve it?
Sorry, Daniele, I haven't regenerate same error
What I have a got on my machine (A2010):
*--- TesterCS loaded ---
--- Plotting Devices ---
1 - None
2 - Отправить в OneNote 2007
3 - Microsoft XPS Document Writer
4 - Fax
5 - Default Windows System Printer.pc3
6 - DWF6 ePlot.pc3
7 - DWFx ePlot (XPS Compatible).pc3
8 - DWG To PDF.pc3
9 - PublishToWeb JPG.pc3
10 - PublishToWeb PNG.pc3
Enter device number: 8
Enter Media Height(mm):
Requires numeric value.
Enter Media Height(mm): 287
Enter Media Width(mm): 210
- Closest Media: ISO full bleed A4 (210.00 x 297.00 MM)
- Offset: 1297.65601968553
- Rotation: Degrees090
So all is looking good for me
yes it work, i'm sorry ... i had a problem with autocad 2010 and the netload.
If i understand the solution of this code is to take the input from the user (o from a code) and searching in the paper size the best choice ... but from existing paper size, not by a created one.
In my case this solution can be very complex because i have three height (30, 60 and 90 centimeter) and a width that start from 1 meter to 5 meter according to the design.
There isn't another choice?
Thank you very much for the help
Sorry I can't help with it,
maybe somebdody else from this NG is knows
about these special plotting issue
Sorry, at present it is not possible to create paper size using API.
Access a broad range of knowledge to help get the most out of your products and services.