MorphControl has a Surface and Curve property, both set to degrees of zero presumably because the box form is the exception that isn’t described in this way.
Imagine the top slice in a 4x4x4 cage cube. On that top slice, i want to move the central 4 up in Z by a fixed amount. I can access the grips fine (index 20, 24, 36 and 40). But because there isn’t a location property which i can set .Z to be increased by 5, 10 or whatever, I’m stuck.
Given that I can get the selection already, I just have to transform with the gumball. But wondering if I can get the script to transform the points too.
xform_this.3dm (761.8 KB)
cages = rs.GetObjects( "select cages to manipulate" ) cage_objects =  for cage in cages: cage_objects.append(rs.coercegeometry(cage)) """ for cage_object in cage_objects: cage_object. """ rs.EnableRedraw(False) for cage in cages: rs.EnableObjectGrips(cage) rs.SelectObjectGrip( cage, 20) rs.SelectObjectGrip( cage, 24) rs.SelectObjectGrip( cage, 36) rs.SelectObjectGrip( cage, 40) rs.EnableRedraw(True)