• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

To TIG:random delete

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

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

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 28 Feb 2008, 10:56

      @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
      • T Offline
        TIG Moderator
        last edited by 28 Feb 2008, 11:09

        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
        • G Offline
          Gaieus
          last edited by 28 Feb 2008, 11:20

          That was quick, TIG! ๐Ÿ‘

          Gai...

          1 Reply Last reply Reply Quote 0
          • R Offline
            rv1974
            last edited by 28 Feb 2008, 15:07

            74 minutes ๐Ÿ˜Ž
            Thanks TIG!

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 28 Feb 2008, 15:38

              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 28 Feb 2008, 18:06

                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 29 Feb 2008, 09:21

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

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 29 Feb 2008, 10:05

                    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
                    1 / 1
                    • First post
                      1/9
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement