Sometimes when I run the following code, it creates a box that is pushpulled up. Other times, the same values produce a box that pushpulled down. It may be other things I am doing in code elsewhere. But I have no idea. Can anyone explain why the same code with the save values would sometimes produce different results?
def CreateBoxGroup(height, length, width, x, y, z) #Footprint pts1 =  pts1 = [x,y,z] pts1 = [x + length, y, z] pts1 = [x + length, y + width, z] pts1 = [x, y + width, z] group = Sketchup.active_model.entities.add_group face = group.entities.add_face(pts1) face.pushpull(height,true) return group end