DWF
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi all,
I want an example showing how to parse DWFX files using Dwf toolkit 7.6.
The parsing I need is using process_next_object(), and object processing by my callback.
Can anyone help me pleeeeeeeeease ?
Thanks,
Hmeidi.
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
No replies ??????????
I can hear my echo.
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thank you for your question.
Please refer the DWF Toolkit samples “W2dTest” and “XPSTest” to read/write a DWFx file.
- Download the DWF Toolkit;
- The samples “W2dTest” and “XPSTest” are under \samples\DWFToolkit

Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Silvia,
I tried to use the two samples “W2dTest” and “XPSTest", but non of two samples succeeded to load dwfx files.
I passes dwfx file path to read_test() function that exists in the two samples and I got the following results:
W2dTest Sample:
the following line caused a crash:
pXamlFileDescriptor->open();
XPSTest Sample:
the function process_next_object() returned WT_Result::Internal_Error
Thanks for your help,
Hmeidi
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I will answer your questions in order.
- W2dTest, please check the sample calls “write_test” before “read_test”. Open this sample folder, there is a file “W2DTest.ini” configures the sample to read/write the dwf/dwfx file.
2. XPSTest, this sample is to write a dwfx file; the “read_test” and “skip_test” was corrupt, please ignore the two functions.

Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks Silvia,
It seems that w2dtest reads w2x and xaml files but I need to read dwfx package,
Is there a sample that reads dwfx files directly ?
Thanks again,
Hmeidi
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
You can refer to the sample code Read2DDWFxFile.cpp.

Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Re: How can I parse DWFX Files using Dwf toolkit 7.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Do you have any examples of parsing 3D content?
Thank you.

