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!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    To TIG:random delete

    Scheduled Pinned Locked Moved Developers' Forum
    9 Posts 3 Posters 1.1k 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.
    • R Offline
      rv1974
      last edited by

      Hi TIG!
      Could be delete easily replaced with CUT? Cut and place I mean.
      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        @rv1974 said:

        Hi TIG!
        Could be delete easily replaced with CUT? Cut and place I mean.
        Thanks in advance.

        You can't Ruby script the basic Edit commands like Cut/Copy/Paste. However you could make a RandomSelect script that would go through the selection and randomly select a %, you could then Cut them (Ctrl+X) and re-paste etc...

        I'll publish a version shortly...

        TIG

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          Here's the requested RandomSelect script: http://www.sketchucation.com/forums/scf/viewtopic.php?p=44671#p44671

          TIG

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

            That was quick, TIG! πŸ‘

            Gai...

            1 Reply Last reply Reply Quote 0
            • R Offline
              rv1974
              last edited by

              74 minutes 😎
              Thanks TIG!

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                Actually it was only ~14 minutes - I didn't read your question for the first hour !!!

                Does it do what you wanted ?

                TIG

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rv1974
                  last edited by

                  Yes definitely. Randomly positioned elements in elevations, light sourses,
                  trees to be scaled- there is a wide field for implementation.
                  Thanks once again!

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rv1974
                    last edited by

                    Hi TIG!
                    Are you sure you uploaded the right file?

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      I did upload the correct file... BUT the weirdness of Vista is that it segregates 'compatibility files' when they're inside the Programs Files Folder.

                      I based RandomSelect on RandomDelete. I copied it, renamed it and changed its contents - and when I used it it read the right one and runs fine !!! BUT for some stupid reason Vista uploads the initial unedited copy - although it has the right 'name'...

                      After some efforts I have fixed it and I have now corrected the error in the Depository...

                      301 Moved Permanently

                      favicon

                      (www.sketchucation.com)

                      The old version needs deleting but I can't do it since after a day or so the posts seem to be locked... Can a Mod please fix.

                      EDIT: As of this edit the wrong file/post is gone. Anyone who downloaded the duff version (~24 ?) please accept my apologies, and go and get the corrected one...

                      More haste, less speed...

                      TIG

                      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