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

DWF Viewer API

3 REPLIES 3
Reply
Message 1 of 4
brumbacksd
2294 Views, 3 Replies

DWF Viewer API

Hello,

I have embedded a DWF Viewer in an ASP.net Web Page
I am trying to show a selected object name when selecting a 3D model object.
I have found the API event "OnSelectObjectEx"
I have tried the Javascript and VB.net methods with no success.
Here is my Javascript



Any help would be great 🙂

Thanks
Shane Brumback Edited by: brumbacksd on Jun 11, 2009 1:57 PM
3 REPLIES 3
Message 2 of 4
wayne0423
in reply to: brumbacksd

Thank you for your question.

"OnSelectObjectEx" only has one parameter. Please refer to Autodesk Design Review 2010 API Reference for the correct format.

In "OnSelectObjectEx" event, you can't know which object is selected, because the object hasn't been selected yet. If there are some selected objects, you can get them by "Object" API in IAdContent interface.

Please let me know if I can be of any further assistance.

- Wayne
Message 3 of 4
usheokand
in reply to: wayne0423

Hi,

 

I have same requirement as stated in the original post.

Can you explain how am supposed to fetch an object after sleection. I can't really see the object selected. No highlighting is taking place.

Please help over it, I am new to this API.

 

Thanks in advance.

Message 4 of 4
scottdwagner
in reply to: usheokand

Look into onover this will return the object then onselectobject will have the last item hovered.

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

Post to forums  

”Boost

 

”Tips

 

”Services