State of DC and scenes
-
I have a couple of dynamic components in a model (doors, windows and cabinets). I also tend to use scenes quite often -- especially for selecting spots to render, as I make changes to the model.
My questions: is it possible to have a scene remember the state of the DC (e.g., a door being opened or closed)? If not, is there an easy way to "hack" it (e.g., a script that first changes to a given scene and then closes all exterior doors). I am not familiar with the Ruby API to DC (if any), but willing to learn if needed.
Juan
-
I think it might be possible using ruby, though, by using ruby to change a custom attribute which would then drive the animation. I might be remembering wrong, though, as im not entirely sure if you can set attributes through ruby (you can definitely read them, though.)
-
Remus is right. There's no "easy" way to tie DC redraws to scene changes. One could do it with a custom Ruby script.
It's on the feature request list, so it could show up in a future version.
Cheers,
-
Don't know if it is an option,
but i have seen some tutorial-skp's, where there was a model in scene 1, and scene 2 was looking at a (changed) cópy of that same model which was located a bit to the right so you did not see that one when you were looking at scene 1.
If you change to scene 2, scene one is leaving your screen and you see the changed model.
(but ofcourse you won't see the doors getting opened in 1 model, you will just see model 1 dissappearing and model 2 appearing and this is probably not what you were looking for?)
Advertisement