|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Is it possible to register a file extension for a plugin? |
|
| Print at Dec 18, 2025, 6:18:06 PM | View all posts in this thread on one page |
| Posted by member1 at May 20, 2020, 4:24:48 PM |
|
Is it possible to register a file extension for a plugin? I have a scene importer plugin. I want my file type to be opened by the program(File->Open or start a program with parameters), but processed by the plugin. Is it possible? |
| Posted by Puybaret at May 20, 2020, 9:13:37 PM |
|
Re: Is it possible to register a file extension for a plugin? You can't change the extensions of the files that Sweet Home 3D is able to open from a plug-in. ContentManager.ContentType contains a USER_DEFINED option which lets a developer define some customized file extensions in a subclass of FileContentManager (like in Export to HTML5 plug-in), but this won't change the extension of the files opened by Sweet Home 3D. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 18, 2025, 6:18:06 PM |