• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

DC - The Switch Function (SET)

Scheduled Pinned Locked Moved Dynamic Components
sketchup
1 Posts 1 Posters 720 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jamronlol
    last edited by 20 Feb 2011, 08:17

    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!
    😍

    1. Make a shape that may change i.e. Interchangeable text. Make it a component. Call it set1
    2. Make a different one in it's place. Call it set2
    3. Combine them together. Make sure set2 is hidden. Call it set
    4. On component attributes, set must have the "Show" command on it. Type 1 on the next one
    5. 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
    6. Interact and it should change!

    Here is an example


    set function.skp

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Buy SketchPlus
    Buy SUbD
    Buy WrapR
    Buy eBook
    Buy Modelur
    Buy Vertex Tools
    Buy SketchCuisine
    Buy FormFonts

    Advertisement