DWF

Reply
New Member
brumbacksd
Posts: 1
Registered: ‎06-11-2009
Message 1 of 4 (1,112 Views)

DWF Viewer API

1112 Views, 3 Replies
06-11-2009 06:56 AM
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 :smileyhappy:

Thanks
Shane Brumback Edited by: brumbacksd on Jun 11, 2009 1:57 PM
Employee
wayne0423
Posts: 21
Registered: ‎06-10-2009
Message 2 of 4 (1,112 Views)

Re: DWF Viewer API

06-16-2009 09:16 PM 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
Contributor
usheokand
Posts: 14
Registered: ‎03-05-2012
Message 3 of 4 (885 Views)

Re: DWF Viewer API

03-06-2012 03:13 AM 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.

Contributor
scottdwagner
Posts: 16
Registered: ‎03-13-2014
Message 4 of 4 (120 Views)

Re: DWF Viewer API

09-05-2014 11:10 PM in reply to: usheokand

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.