The Sketchup Show #56: Using Dynamic Component Appliances in the Kitchen
Loading...
76,052
Uploader Comments (4sketchupgo2school)
see all
All Comments (17)
-
great video
-
cool vid keep it up
-
youre cute!
-
Of course, there is. In fact, Sketchup allows you to activate as many operations as you want with just one OnClick function. What you need to do is to separate those functions with semicolon(s). For example, you can set two cabinet doors to open at the same time to different opening angles, a drawer to be drawn out, an apple to fall off the counter etc... Just insert semicolons (";") between the command lines for each individual operation.
-
How 'bout put some food in those cabinets and Fridge!
-
lol
-
unfortunately not
-
He's talking about the navigation elements that take you back to the parent section of the website. They're called breadcrumbs. Look it up.
Loading...
hey.. is it possible to make an onclick command that animates several subcomponents at once? I'm trying to make a folding door that opens both or all 4 of its doors in the same action, but cannot figure out a way to make this happen.
Is it possible to somehow refer to subcomponents in an onclick command written in the mother component?
autoexec2000 1 year ago
@autoexec2000 it goes the other way. you refer to parent level component attributes when inputting attributes for the nested sub-components. e.g. at the parent level of your component (we'll call it "Door") set a custom attribute called DoorSwing and set onclick = animate(DoorSwing,0,90). then set the RotZ value for your nested sub-components as DOOR!DoorSwing (or DOOR!DoorsSwing +/- X). Then when you use the interact tool, the RotZ values should trickle down to the sub-components.
4sketchupgo2school 1 year ago
Is there any way to do 2 OnClick functions on a Dynamic Component consisting of two other components? I want one component to react when I click the first time & the second component to react with the second click. If I keep them seperate, they will not stay joined together.
benturtle 2 years ago
there is a way to do that, yes. but tough to explain in 500 characters. you'd essentially need to set your on click function at the parent level. Clicking would drive a primary formula at that level which would then trickle down to the nested components, which had functions for position or rotation or whatever that were dependent on the on click values. this would be easier to chat about on our forums at go(dash)2(dash)school(dot)com
4sketchupgo2school 2 years ago