C++ Import Custom Extension With Modal
-
So im making a plugin in c++. I have a plugin successfully reading a custom file type however i cant intiate a dialogue, it just keeps failing. I was wondering if anyone had any refrences or solutions i could utilize to try and get this too work. Im trying to import materials and objects from this custom, file type through a pop up. Any help would be greatly apreciated.
-
Hi @RyanTheDev,
Welcome to the Maxon developers forum and its community, it is great to have you with us!
Getting Started
Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules.
- Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment.
- Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support.
- Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads.
It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions.
About your First Question
Please elaborate on your question, there's no good reference or solution you can get without providing the context. What is a "custom file type"? do you mean you've implemented BaseSceneLoader plugin? When you try to open dialog? Is it happening on main thread? What's the code that does this? What does it mean "keeps failing" - does it give you error instead?
You can also have a look at SCENEFILTER::DIALOGSALLOWED flag, if it's applicable in your case.
Cheers,
Ilia