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

    Run Validity Check

    Scheduled Pinned Locked Moved Developers' Forum
    8 Posts 6 Posters 2.0k Views 6 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.
    • thomthomT Offline
      thomthom
      last edited by

      Is there a way to trigger the Validity Check via the API?

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

      1 Reply Last reply Reply Quote 0
      • M Offline
        MartinRinehart
        last edited by

        I started with SU 7 and the Fix Problems button has never found a problem to fix.

        Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          Sketchup.send_action 21124

          Hi

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

            After importing
            @martinrinehart said:

            I started with SU 7 and the Fix Problems button has never found a problem to fix.

            I run into it some time to time when I import geometry from other formats.

            And after I run my CleanUp script that removes unnecessary edges - I've not found out why that happens. But I want to run that command after a clean up operation to ensure things are as it should.

            @jim said:

            Sketchup.send_action 21124

            Thanks! πŸ‘
            Does it work on Mac as well?

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

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

              Hi,
              Has someone figured out what the equivalent of send_action 21124 for the mac is?
              Thanks,
              Robert

              1 Reply Last reply Reply Quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                There is Sketchup::send_action( "fixNonPlanarFaces:" )

                ... but it may not be the exact same thing.

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • tt_suT Offline
                  tt_su
                  last edited by

                  Yea, it's not the same thing. I think fixNonPlanarFaces is a testing action - lots of them are.

                  I'll file a feature request to get the validation check as a proper method in the API

                  1 Reply Last reply Reply Quote 0
                  • Dan RathbunD Offline
                    Dan Rathbun
                    last edited by

                    Thank you, Thomas!

                    πŸ‘

                    I'm not here much anymore.

                    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