Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
FredoBend | Powerful new bending tool for SketchUp Download
DC - The Switch Function (SET)
-
You know the Delivery Truck in SketchUp Sampler.
The rear can change.
Do you Know how to do that?
No
Well I can give you the way!

- Make a shape that may change i.e. Interchangeable text. Make it a component. Call it set1
- Make a different one in it's place. Call it set2
- Combine them together. Make sure set2 is hidden. Call it set
- On component attributes, set must have the "Show" command on it. Type 1 on the next one
- The script for each component should be
HIDDEN | =IF(set!Show=1,0,1) (1,2,.......N)
ONCLICK | SET("set!show",2) (2,3.....1) Important!! The last one must have 1 or it won't work - Interact and it should change!
Here is an example
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement