Customize DWF Publisher navigation tree

Customize DWF Publisher navigation tree

Micky_SDP
Enthusiast Enthusiast
507 Views
2 Replies
Message 1 of 3

Customize DWF Publisher navigation tree

Micky_SDP
Enthusiast
Enthusiast

Hi, 

I would like to customize navigation tree dwf publisher.

I have tried using Dwf3dNavigationTreeNode in BeginSheet event, but don't work correctly

 

Please provide some sample code if possible.

 

Thank's

Michele

 

 

0 Likes
508 Views
2 Replies
Replies (2)
Message 2 of 3

deepak.a.s.nadig
Alumni
Alumni

I am not very clear with your question.

Can you please elaborate with " customize navigation tree dwf publisher" in Vanilla AutoCAD  ?

(May be a screenshot or screencast can also help) 

0 Likes
Message 3 of 3

Micky_SDP
Enthusiast
Enthusiast

Hi, sorry for my bad english...

 

I would like create my tree selection in dwf, the tree that contains the list of entity.

 

I read this in the ObjectArx documentation:

 

public sealed class Dwf3dNavigationTreeNode : RXObject;

 

This .NET class wraps the Ac3dDwfNavTreeNode ObjectARX class. 

Ac3dDwfNavTreeNode describes the interface that must be implemented by the (optional) NavTree Publisher. The NavTree publisher controls what will appear in the navigation tree in the Viewer. If no NavTree publisher is passed in to the Ac3dDwfPublisher, then it will display a "flat" tree listing all the objects with their class names and handles. You must create an object that implements the Ac3dDwfNavTreePublisher interface, i.e. an object that derives from Ac3dDwfNavTreePublisher and implements its functions. You will get called after each entity is done publishing its graphics and properties. Use those calls to build a tree of Ac3dDwfNavTreeNode's, based on the data in the Ac3dDwfEntityHeader. That data includes the "Graphics keys" which are used in the DWF to identify the graphics associated with the entity. When all other publishing is done, the Ac3dDwfPublisher will ask you for that tree by asking for its root node: Ac3dDwfNavTreeNode* root().

 

So I thought you could do it, but I do not understand how to do it.

 

Thank's

Michele

 

 

 

 

0 Likes