Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Drag/drop into viewport from a external app

 Post Reply Post Reply
Motiva View Drop Down

Joined: 2016 Feb 03
Online Status: Offline
Posts: 49
Post Options Post Options   Quote Motiva Quote  Post ReplyReply Direct Link To This Post Topic: Drag/drop into viewport from a external app
    Posted: 2018 Mar 14 at 2:03am

User Information:

Cinema 4D Version:   R17 
Platform:   Windows  ;   
Language(s):     C++  ;   


Hi, I want to support drag/drop from other app as we already did in other 3d platforms but to be honest I have no idea where I should start in the case of C4D.

Is there any snipped or somebody could give me a tip about where should I start reading?

Thank you in advance.
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1712
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2018 Mar 15 at 2:54am

I'm afraid this is not directly possible. Drag and drop onto the viewport is handled internally.
You could implement a SceneLoaderData plugin, such gets triggered on drops onto the viewport, but of course is limited to scene data and also a new scene will be created. So probably not a good option.
Otherwise the best we can offer is a GeDialog or a GeUserArea, where you have full control of the drag and drop operation, of course with the drawback that the user needs to target a certain drop area.

SDK Support Engineer
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.