API Configurator - Switch Models?

api

(Dakodajohnson53) #1

Hello All,

I am curious if it would be possible to utilize the configurator API to switch to a different sketchfab model?

Ex.)
1. Click on the button to change color
2. Rather then switching toggling mesh visibility, switch to a different sketchfab model.
-I would imagine this would be done by switching the iframe out.

Let me know if you can think of any glaring issues of why this would not work!

Thank you!


#2

Thanks for your interest!

This is exactly what I do in my tutorial (Part 1):

Another solution is to generate several iframes and toggle their visibility. I do this combined with API initialization here:

http://jsfiddle.net/PadreZippo/rt85q3nL/

If you use lots of models it can take a lot of memory.

You might also be interested in our native Playlists feature:

Hope that helps!


(Dakodajohnson53) #3

@james Thank you so much for the help! You have an awesome support community!