Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 5774 times and has 1 reply Next Thread
member1
Newbie




Joined: May 20, 2020
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
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?
[May 20, 2020, 4:24:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[May 20, 2020, 9:13:37 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved