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

Drag/drop into viewport from a external app

Author
Message
  Topic Search Topic Search
Motiva View Drop Down
Member
Member


Joined: 2016 Feb 03
Online Status: Offline
Posts: 54
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
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1878
Direct Link To This Post Posted: 2018 Mar 15 at 2:54am
Hi,

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.

Cheers,
Andreas
SDK Support Engineer
Back to Top

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.109 seconds.