Application.DragDrop

Application.DragDrop

ulski1
Collaborator Collaborator
1,158 Views
8 Replies
Message 1 of 9

Application.DragDrop

ulski1
Collaborator
Collaborator

hi,

Can someone provide some example code demonstration what we can do with Application.DragDrop?

I see there is support for Application.DragDrop.DecodeDataWpf 

can you drag and drop and item from a wpf usercontrol onto the scene view?

 

br

Ulrik

0 Likes
1,159 Views
8 Replies
Replies (8)
Message 2 of 9

xiaodong_liang
Autodesk Support
Autodesk Support

Hi @ulski1,

 

as far as I remember, this method is mainly for internal use. I am checking with engineer team if there is any update. 

0 Likes
Message 3 of 9

xiaodongliang
Contributor
Contributor

Hi @ulski1,

 

Our engineer team said it would probably for internal use only, but happens to be documented in API help. Sorry for this.

 

I logged a wish for engineer team to check in the future: NW-54127: NET API: documentation for Application.DragDrop

0 Likes
Message 4 of 9

ulski1
Collaborator
Collaborator

what I want is to try and make a navigation tool which allows the enduser to drag and drop a small "man" on top if the 3d objects to where they wants to start walking a bit like google street view

0 Likes
Message 5 of 9

xiaodong_liang
Autodesk Support
Autodesk Support

Hi @ulski1,

 

 you don’t need drag-drop for that. A simple click on a 3D object would work. With that, you can work out the 3D location, then switch view to walking. The drag-drop is really only used for dragging and dropping from Windows Explorer.

0 Likes
Message 6 of 9

ulski1
Collaborator
Collaborator

I'm aware of what you can or can't do in navisworks - this is about making navisworks navigation more user friendly - users can not operate navisworks without being told how to use it - it is not as self explanatory. The number one factor to as why our users wants us to replace navisworks with other viewers is that they can not figure out how to operate it.

0 Likes
Message 7 of 9

xiaodong_liang
Autodesk Support
Autodesk Support

Hi @ulski1,

 

sorry for my late response and my comments of last time frustrated you. I thought you were asking about dragging an object ( 'man' )to Navisworks scene, so suggested adding the object without dragging. 

 

I agree the document on drag-drop is confusing, and the API for navigation is limited. I will forward the comment to engineer team.

 

while if I misunderstood what your requirement is exactly is, please feel free to elaborate further to help me understand better, and I will also check with engineer team further. Thank you.

0 Likes
Message 8 of 9

ulski1
Collaborator
Collaborator

This was not about drag and drop of type scaffolding,men, cars etc. as a user friendly type of "append file combined with transform/move/rotate" to a point in one operation (which would be a nice feature too). This was about having an initial viewpoint showing a huge plant from a distance and the user want to start walking in a position far away without using saved views. An experienced user might click an object far away and press pagedown (zoom to selection) and then switch to walk mode or the look around tool. In some 3D viewers you have the capability that the user drags some symbol  a surface and lets go of the symbol. As soon as the user drops the symbol on a surface the viewer understands that the users want to "go there" and look around or walk.

 

Also users struggles with the walk mode. The modern walk mode have some benefits over the classic walk mode but the modern walk mode lacks the mouse wheel scroll to tilt the view capability. So an super cheap easy fix for Autodesk would be to add the mouse wheel scroll to tilt to the modern walk mode.

 

br

Ulrik

0 Likes
Message 9 of 9

xiaodong_liang
Autodesk Support
Autodesk Support

Hi @ulski1,

 

Thank you for elaborating your requirement. It looks rather a product question. I checked with engineer team and was told this is not an area in the plan of engineer team at present. Sorry if this is a bad news to you. While I still logged this question in internal system: NW-54145. 

 

 

0 Likes