The DWF Toolkit includes C++ source code for reading and writing DWF files. More specifically, it provides APIs for:
- DWFx format support
- Reading and writing 3D DWF from any application
- Simplified 2D interfaces
- Reading and writing composite DWF files (3D and 2D combined)
- Cross-platform support (Windows, Mac, and Linux)
The latest version of the DWF Toolkit, 7.7, ready for download here http://www.autodesk.com/dwftoolkit, includes:
- Support for DWF/DWFx files published by AutoCAD 2012 and other 2012 Autodesk design programs
- DWF Toolkit building with VS2010
- DWF Toolkit building on Mac (XCode 4.1) and Linux (gcc 4.5)
- Updated sample code and documentation
- New parameter "nProviderFlags" to the existing functions “DWFContent::load”, “DWFSection::getContentDefinition” and “DWFSection:: getObjectDefinition”, which will give you an option to skip reading customized property attributes, improving file reading performance. (The default behavior is not skipping which is consistent with the toolkit previous version.)
The ability for others to add value to what DWF has to offer is another way DWF goes beyond the paper.
Is there a Visual Basic version?
Posted by: Hugh | December 09, 2011 at 04:19 AM
Thank you for your question.
There is no Visual Basic version; however you can call the C++ libraries in Visual Basic application.
Please let us know if you have any further questions.
Posted by: Silvia | December 11, 2011 at 09:14 PM
I'm totally newbie in DWFToolkit and I need some help to start using that.
I did the download of DWFToolkit version 7.7 (bin).
I built sucessfully the SimpleEPlotWriter example as recommended in the the readmefirst.html. I'm using the Visual C++ 2010 Express Edition.
But I'm in troubles to start the example. There are some errors:
'SimpleEPlotWriter.exe': Loaded 'C:\Users\KMA2\Desktop\DWF\DWFToolkit-7.7-bin-win32\DWFToolkit-7.7\samples\DWFToolkit\SimpleEPlotWriter\shared_debug_vc10.0_Win32\SimpleEPlotWriter.exe', Symbols loaded.
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Users\KMA2\Desktop\DWF\DWFToolkit-7.7-bin-win32\DWFToolkit-7.7\samples\DWFToolkit\SimpleEPlotWriter\shared_debug_vc10.0_Win32\dwfcore_wt.1.7.0.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\msvcr100d.dll', Symbols loaded.
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\msvcp100d.dll', Symbols loaded.
'SimpleEPlotWriter.exe': Loaded 'C:\Users\KMA2\Desktop\DWF\DWFToolkit-7.7-bin-win32\DWFToolkit-7.7\samples\DWFToolkit\SimpleEPlotWriter\shared_debug_vc10.0_Win32\dwftk_wt.7.7.0.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Users\KMA2\Desktop\DWF\DWFToolkit-7.7-bin-win32\DWFToolkit-7.7\samples\DWFToolkit\SimpleEPlotWriter\shared_debug_vc10.0_Win32\w3dtk_wt.1.7.1555.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\shimeng.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\apphelp.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\AppPatch\AcLayers.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\shell32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\userenv.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\secur32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\winspool.drv', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\mpr.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file
'SimpleEPlotWriter.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18523_none_5cdd65e20837faf2\comctl32.dll', Cannot find or open the PDB file
The program '[4572] SimpleEPlotWriter.exe: Native' has exited with code 0 (0x0).
Someone have ideas what happening here? Thanks a lot!
Posted by: Account Deleted | January 05, 2012 at 01:39 PM
Hi Nathalia,
For support related questions, please post to the DWF Discussion group: http://www.autodesk.com/discussiongroup-dwf
You're likely to get the most help there.
Posted by: Chris Blocher | January 05, 2012 at 01:59 PM
Thanks Chris. I think the available documentation is insufficient for beginners in DWF Toolkit. It would be useful to have some quickstart tutorial teaching how to do a "hello world" application, including how to setup the development environment.
Posted by: Account Deleted | January 20, 2012 at 11:00 AM