I’ve a cupboard door I’m making an attempt to open & shut with onClick. I’ve clearly completed one thing to screw it up. I’ve heard that I can’t use onClick on each copy “0” and different copies… so it’s not an excessive amount of work to cover copy zero and simply rotate the opposite copies, however when I’ve only one cupboard door the onclick rotation nonetheless isn’t working. Any concepts?
Utilizing a separate attribute as an oblique reference fixes this, took liberty to make use of animate on second instance, I believe its smoother
cupboard container_debug.skp (154.5 KB)
plus when utilizing multiple rotation, greatest to assign all rotations as Sketchup can alter an unassigned in its analysis
To get the doorways to work as unconnected for the animation use an extra nesting and place the animation there.
On this case I altered the second instance, so no want for oblique reference as just one rotation in every stage
cupboard container_debug.skp (174.7 KB)
The linked conduct within the first instance is that the unique influences the copy, so every copy ought to have their very own rotation
Nailed it.
I see each options in play. The oblique attribute reference appears to resolve the problem of nothing occurring onClick – which you say is results of having multiple rotation on the component (not intuitive however at the very least memorable!). And transferring the onClick attribute down one stage deeper within the nesting so it’s not utilized to a copied component appears to handle the linked conduct drawback.
For those who don’t thoughts, what sort of work do you do that you’ve such a large and deep experience of the DC system?
Many thanks to your overview.