DWF

Reply
Active Member
voicon
Posts: 8
Registered: ‎12-30-2011
Message 1 of 2 (881 Views)

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

881 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.

 

Contributor
binhpt
Posts: 14
Registered: ‎01-17-2012
Message 2 of 2 (858 Views)

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"

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community