FATAL ERROR with Core Console (Automate plotting)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to automate plotting DWG to make PDF.
My File :
My DWG has one model and one paperspace with view of the model.
Each view can have many viewport and has a cartridge.
My Goal :
I want a PDF File. One view per page.
My method :
I have an intermediate step, which create many Postscript File(One per View)
The second step use GhostScript to concate PS Files in a PDF.
The steps:
1st step : Read DWG File to create script file, in order to automate plotting with AccoreConsole.exe. My method give me the point for plotting in a window with both corner.
2d step : Use the Script File and Software like (TRUEVIEW or ACCORECONSOLE(Autocad 2013) to create PS Files.
Last step : Run GhostScript to make my PDF File as I wish.
Problem :
Old method
It works with DWGTrueView, but I would like a silent mode for executing.
Solution ==> use AccoreConsole.exe include in Autocad 2013
New method
Using Accoreconsole with a ProcessStartInfo, I realized that accoreconsole.exe can raised error that DWGTrueView didn't raised.
It works with some files, but sometimes, it's crashed, and I don't understand why.
Do you have any idea ?
For exemple, a file that succeed with DWGTrueView