Active Member
8 Posts
2 Kudos
Registered: ‎12-30-2011
Post 1 of 2

How to modify a specified object in DWF file ( w2d)

1026 Views, 1 Replies
01-10-2012 10:40 PM

Hi all,

I could read all objects in DWF file ( with w2d package inside ) by using samples in DWF Toolkit.

But I don't know how to get the handle of specified object because I need to modify this objects (ex: change description, edit the text, or add hyperlink...)


Ex: I have a DWF file with 2 pipe line inside, anyone can tell me how to get one pine line and modify this line (such as: change the description, tag or add hyperlink ) ?


Thank you very much.


14 Posts
1 Kudo
Registered: ‎01-17-2012
Post 2 of 2

Re: How to modify a specified object in DWF file ( w2d)

01-19-2012 12:17 AM in reply to: voicon

i'm researching this solution . And i have just test successfull with my solution :
First you can get direct stream w2d from  dwf package and read all object , after that you can rewrite stream into w2d file .

May be, you can view code rewrite w2d file in http://forums.autodesk.com/t5/DWF/Merging-W2D-Files/td-p/2709055


When i rewrite wt_object into another w2d file , i can edit it before writing into file. Example add hyperlink, add data ..v...


Last, you can publish w2d file into dwf package by sample code  in dwf toolkit, i refer "SimpleEPlotWriter"


Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!