• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Request: modifiy DelConLInesOnly.rb DelConPointsOnly.rb :?:

Scheduled Pinned Locked Moved Developers' Forum
9 Posts 3 Posters 519 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.
  • J Offline
    JClements
    last edited by 17 Oct 2008, 22:42

    TIG:

    I was wondering if there could be varient to these two scripts, each with 4 options:

    Perhaps in a menu similar to SU's Intersect.

    1a- if nothing selected, all would be deleted, excluding any within groups or compontents after a prompt of "Are you sure".
    1b- if nothing selected, all in the would be deleted, including any groups or compontents and their subgroups or subcomponents (absolutely every occurence in the model) after a prompt of "Are you sure".
    2a- if somehthing is selected and then all within the immediate group or component level (not within subgroups or subcomponents)
    2b- if somehthing is selected and then all within selection AND within its subgroups or subcomponents would be deleted.

    Regards, John

    John | Illustrator | Beaverton, Oregon

    1 Reply Last reply Reply Quote 0
    • W Offline
      watkins
      last edited by 18 Oct 2008, 06:54

      Dear John,

      I would find this very useful too. I habitually use cpoints for assembling mechanical parts, and so it would be nice to be selective about cleaning up. Ideally, a new alignment point/feature that had its own deletion command would be nice.

      Kind regards,
      Bob

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 19 Oct 2008, 19:10

        I'll see what I can do. If anyone beats me to it I won't feel bad !
        [EDIT]Here it is...http://www.sketchucation.com/forums/scf/viewtopic.php?p=100581#p100581

        .

        TIG

        1 Reply Last reply Reply Quote 0
        • J Offline
          JClements
          last edited by 20 Oct 2008, 13:55

          Thanks. ๐Ÿ˜„

          I imagine the code for determining the what to do, depending upon what or what isn't selected, could be useful for other scripts as well.

          John | Illustrator | Beaverton, Oregon

          1 Reply Last reply Reply Quote 0
          • W Offline
            watkins
            last edited by 20 Oct 2008, 16:36

            Dear TIG,

            Many thanks for making the modifications. I use cpoints a lot for aligning and assembling components, and I occasionally forget myself and delete both construction lines and points. The new options are just the ticket.

            I have attached a simple collar clamp to show you how I use cpoints to align parts

            Kind regards,
            Bob


            KF40 Clamping collar.skp

            1 Reply Last reply Reply Quote 0
            • J Offline
              JClements
              last edited by 20 Oct 2008, 17:11

              Thank you, TIG!

              Regards, John

              John | Illustrator | Beaverton, Oregon

              1 Reply Last reply Reply Quote 0
              • J Offline
                JClements
                last edited by 20 Oct 2008, 17:45

                TIG,

                Can you try running this test file, please.

                Using the selection method, the script does "dig" down to sublevel; however, it has to be run more than once in order to get everything. Can there by sometype of loop that searches, deletes, and tests to see if their are more occurances and repeats itself until the test is null?


                Test of Delete Construction Objects Test.skp

                John | Illustrator | Beaverton, Oregon

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 20 Oct 2008, 19:15

                  @jclements said:

                  TIG,

                  Can you try running this test file, please.

                  Using the selection method, the script does "dig" down to sublevel; however, it has to be run more than once in order to get everything. Can there by sometype of loop that searches, deletes, and tests to see if their are more occurances and repeats itself until the test is null?

                  This should fix the problem...
                  http://www.sketchucation.com/forums/scf/viewtopic.php?p=100817#p100817

                  .

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JClements
                    last edited by 21 Oct 2008, 00:39

                    ๐Ÿ˜„

                    Thanks.

                    John | Illustrator | Beaverton, Oregon

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

                    Advertisement