Access to certain functions by plug-ins

This topic has been viewed 5560 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Access to certain functions by plug-ins

Post by enkonyito »

According SH3D-5.2 API , a plug-in can access to Home, HomeController or UserPreferences.
Is there access to PhotosController or PhotoController ?
EnkoNyito
enkonyito
Posts: 607
Joined: Thu May 28, 2015 4:52 pm

Re: Access to certain functions by plug-ins

Post by enkonyito »

For single rendering, I had found an alternative access to PhotoController class in a plug-in but there remain some bug as the switching problem between aerial view and virtual visit.

For multiple rendering, no solution found for access to PhotosController class so no plug-in for the moment.
Here's a look after changing the source code in a derived version of SH3D-5.2.
Image
EnkoNyito
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Access to certain functions by plug-ins

Post by Puybaret »

There's no access to PhotoController and PhotosController instances because they are created on the fly when needed in HomeController class. But nothing forbids you to subclass these classes to change their behavior.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest