Active1 year, 5 months ago
- Convert Pdf To Dwg
- Convert Pdf To Dwg Autodesk
- Dwg Trueview Download
- Convert Dwg To Pdf In Trueview
- Converting Dwg To Pdf
What I am trying to do is:
Convert Pdf To Dwg
Since DWG TrueView 2010 was introduced Autodesk has included DWG Convert within DWG TrueView. With Autodesk DWG TrueView you can DWG Convert can be found on the quick access toolbar or on the Home tab of the Ribbon as shown in Figure 2. By selecting the DWG Convert Trueview opens the dialog box as shown in Figure 2. How do i convert dwg to pdf and pdf to dwg. An old ACADLT2000 program to convert drawings he creates to PDF and to also be able to take documents sent to him in a PDF and convert it back to DWG so he can make changes to it. You can also view and print DWG files and output to PDF format with the free Autodesk® DWG TrueView™ software. DWG TrueView is a free application from Autodesk which allows users to view and plot AutoCAD DWG and DXF files, and to publish these same files to the DWF file format. The application also has a Print option available, making possible to convert the AutoCAD drawings to PDF. Autodesk DWG TrueView is a free program that allows users to read AutoCAD and other DWG files. DWG is a file extension used for drawing programs, such as CAD software. DWG TrueView is just a viewer so you cannot change the drawing, but you can print the files and convert DWGs between AutoCAD formats.
I have a Asp Mvc website. In it I need to create a function that does the following:
- converts a .dwg (AutoCad) file to a .pdf file
- converts a .dwg file to a .dwf file
Convert Pdf To Dwg Autodesk
I started with the, what I tought at the time, easier task to have the .dwg to a .pdf. After some research I found out that a way to do that (without buying a 3rd party license) is to install TrueView on the server and using it (or actually a AcCtrl.dll) to convert the file. Well, I did so. I installed the True View program and added a reference to AcCtrl Component (ACCTRLLib). Then I added a reference to the Dll inside the class file I am working on:
![Free Free](/uploads/1/2/6/4/126438664/817822527.png)
So far so good. After that I followed the instructions on this post: PDF conversion using dwg true viewer in VB6
First, this is my code:
Then, according to the post, I went to see if there is a registry with the specified path. The path that I have as a registry is the following:
Dwg Trueview Download
HKEY_CURRENT_USERSoftwareAutodeskDWG TrueViewR13DWGVIEWR-E001:409Profiles<<Unnamed Profile>>DialogsAcPublishDlg
So, I created a 'String Value' in it with ValueName: Location and ValueData: D:MMAAutocatTesting
Alright. So, thats it. After all that I ran the application and called the function. The debugger goes through the code and everything executes (or at least looks like so) but nothing happens. I don't get a file in the D:MMAAutocatTesting folder. I get no exception, no warning nothing. It just executes and nothing happens.
So what else did I tried. Some of those things might be a little naive or silly to try but nevertheless I did as I happen to be a little desperate.
- I tried everything in a console application. I wasnt completely sure that this method is suitable for ASP MVC so I tried the same code with a console application unfortunatelly to the same result.
- I added a file name inside the location string value. I changed the Location ValueData from 'D:MMAAutocatTesting' to 'D:MMAAutocatTestingtestFile.pdf' as I noticed that nowhere in the whole process a file name is asked for the converted file.
- Following my thought from the previous conclusion I tried to supply the path to the 'result' file to the SilentPublish function.
string[] pdfPath = new string[1] { @'D:MMAAutocatTestingtestFile.pdf' }; contrl.SilentPublish(pdfPath);
Again to no avail. So, my question, or rather questions are:
Is it possible to do it this way and if it is what am I doing wrong?If its not than can you suggest a way?Also if a .dwg to .dwf conversion is possible (with the same or different method I am all ears)
Thank you very much
astianastian
Convert Dwg To Pdf In Trueview
2 Answers
True View does not expose the Autodesk.AutoCAD.PlottingServices namespace. You're going to need either a licensed copy of AutoCAD, RealDWG, or another third party API.
MiiirMiiir66911 gold badge88 silver badges1111 bronze badges
I'm not sure if you are still having this issue, but you should be able to do this with the Autodesk Forge API. Calls can be made from any language with a simple HTTP call. You will have to first convert to SVF and then to DXF and PDF from there.
Julie GarciaJulie Garcia