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 21124
Thanks!
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!
Advertisement