sketchucation logo sketchucation
    • Login
    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!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Randomizing components

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    4 Posts 3 Posters 171 Views 3 Watching
    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.
    • C Offline
      Catsmeat
      last edited by

      Is it possible to make a dynamic component (or maybe a ruby script) that randomly changes between a number of predefined shapes when I make copies of it. For instance I could have 5 different kinds of trees baked into the same component, and when when I make 20 copies of this component I would like each of them to randomly assign one of the tree-shapes from 1-5. This would be awfully handy.

      Thanks.
      πŸŽ‰ πŸŽ‰ πŸŽ‰

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        @catsmeat said:

        Is it possible to make a dynamic component (or maybe a ruby script) that randomly changes between a number of predefined shapes when I make copies of it. For instance I could have 5 different kinds of trees baked into the same component, and when when I make 20 copies of this component I would like each of them to randomly assign one of the tree-shapes from 1-5. This would be awfully handy.

        Thanks.
        πŸŽ‰ πŸŽ‰ πŸŽ‰

        Sounds like you want Component Spray: http://forums.sketchucation.com/viewtopic.php?f=180&t=11746

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • GaieusG Offline
          Gaieus
          last edited by

          Hi Thom... πŸ˜• beat me... πŸ˜‰

          That would be Didier's Component spray tool (but you are underestimating its capabilities with your too modest wish) πŸ˜‰
          http://forums.sketchucation.com/viewtopic.php?f=180&t=11746

          Gai...

          1 Reply Last reply Reply Quote 0
          • C Offline
            Catsmeat
            last edited by

            Thanks for the quick replys guys! I'll check that spray tool out right away.

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

            Advertisement