When I run the following:
I get TRUE even when no bad objects are selected. Does anybody have any idea why that would happen?Code:badObjects = rs.Command("_SelBadObjects")
Is there a better way? Is there a way to simply check for selected geometry?
Here is my code:
Code:badObjects = rs.Command("_SelBadObjects") if badObjects: rs.MessageBox("Bad objects were found!\n" "The selected bad objects must be repaired before exporting." , 0 | 16, "CheckGeometry: Bad Objects") else: print "...no bad objects were found."


Reply With Quote