Hi, all:
I want to fix problems of su file with Ruby api.
As far as I know, I can do it with the following code from Dan’s answer of other topic:
Cross-Platform action strings:
Sketchup::send_action(“fixNonPlanarFaces:”) # may apply to selection set, so Test
PC ONLY numerical automation IDs:
Sketchup::send_action(21124) # launch the validity check tool
#… will always display the modal results dialog needing to be dismissed by user
My question: is there any other way to do that without popup dialog?
Ps: the corresponding C API: SUModelFixErrors()