Community
DWF
cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 

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

1 REPLY 1
Reply
Message 1 of 2
voicon
1928 Views, 1 Reply

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

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.

 

1 REPLY 1
Message 2 of 2
binhpt
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"

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

ā€Boost

 

ā€Tips

 

ā€Services