sketchucation logo sketchucation
    • Login
    1. Home
    2. MvanDijk
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: 2 separate onClick function

      Thank you pcmoor,

      Thank you for taking the time to look into this.

      The end result is correct, all 4 panels next to each other in a vertical stand.
      However the action in between is suppose to be different.

      taking your example:
      at 1st click mat 1 and 2 should only fold , mat 3 and 4 must follow sliding (no fold).
      at 2nd click mat 3 and 4 should fold next to 1 and 2.

      So instead of 2 actions at 1 click (actually 4 in your case), I need 1 action at each different click.

      Then from there on I can reverse for closing again.

      posted in Dynamic Components
      M
      MvanDijk
    • 2 separate onClick function

      Hi,

      In the attached skp file are 4 panels which are folding and sliding type.
      On 1 click , the first set will fold and the 2nd set follows by sliding.
      Now I need the 2nd set to fold as well once I click again.
      Tried to create a double click function by semicolon separation, but this results in the 2 foldings just at the same time instead of on each separate click.
      Is there any way to solve this.

      in short:
      1st click : open 1&2 + slide 3+4 (as in attachment)
      2nd click : open 3&4 right next to 1&2
      3rd click : close 3&4 again
      4th click : close 1&2 + slide 3&4


      Double folding.skp

      posted in Dynamic Components sketchup
      M
      MvanDijk
    • 1 / 1