Run Validity Check
-
Is there a way to trigger the Validity Check via the API?
-
I started with SU 7 and the Fix Problems button has never found a problem to fix.
-
Sketchup.send_action 21124 -
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 21124Thanks!

Does it work on Mac as well? -
Hi,
Has someone figured out what the equivalent of send_action 21124 for the mac is?
Thanks,
Robert -
There is
Sketchup::send_action( "fixNonPlanarFaces:" )... but it may not be the exact same thing.
-
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
-
Thank you, Thomas!

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement