DWF

Reply
Active Member
1810msa
Posts: 6
Registered: ‎03-08-2011
Message 1 of 8 (1,805 Views)

How can I parse DWFX Files using Dwf toolkit 7.6

1805 Views, 7 Replies
03-08-2011 02:19 AM

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.

Active Member
1810msa
Posts: 6
Registered: ‎03-08-2011
Message 2 of 8 (1,795 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

03-09-2011 08:08 AM in reply to: 1810msa

No replies ??????????

 

I can hear my echo.

Employee
SilviaCao
Posts: 136
Registered: ‎06-07-2009
Message 3 of 8 (1,763 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

03-13-2011 08:08 PM in reply to: 1810msa

Thank you for your question.

 

Please refer the DWF Toolkit samples “W2dTest” and “XPSTest” to read/write a DWFx file.

  1. Download the DWF Toolkit;
  2. The samples “W2dTest” and “XPSTest” are under \samples\DWFToolkit


Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
Active Member
1810msa
Posts: 6
Registered: ‎03-08-2011
Message 4 of 8 (1,614 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

08-09-2011 08:00 AM in reply to: SilviaCao

 

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

Employee
SilviaCao
Posts: 136
Registered: ‎06-07-2009
Message 5 of 8 (1,606 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

08-09-2011 11:03 PM in reply to: 1810msa

I will answer your questions in order.

  1. W2dTest, please check the sample calls “write_test” before “read_test”.
  2.      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.
Active Member
1810msa
Posts: 6
Registered: ‎03-08-2011
Message 6 of 8 (1,600 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

08-10-2011 07:13 AM in reply to: SilviaCao

 

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

Employee
SilviaCao
Posts: 136
Registered: ‎06-07-2009
Message 7 of 8 (1,593 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

08-11-2011 02:43 AM in reply to: 1810msa

You can refer to the sample code Read2DDWFxFile.cpp.



Silvia Cao
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.
New Member
Andrey.Dankevich
Posts: 1
Registered: ‎02-10-2013
Message 8 of 8 (1,188 Views)

Re: How can I parse DWFX Files using Dwf toolkit 7.6

02-10-2013 01:31 PM in reply to: 1810msa

Do you have any examples of parsing 3D content?

 

Thank you.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.