@Karl_Singline wrote:
Hello everyone, I’m doing, what I thought, would be a simple automation script for a GH setup. It all runs fine up until the final two lines?! My ‘test’ object is baked at the 0,0,0 location through all 25 passes… can someone point out what I’m missing?!
import rhinoscriptsyntax as rs import Rhino gh = Rhino.RhinoApp.GetPlugInObject("Grasshopper") for x in range(10, 5, -1): gh.SetSliderValue('73d914fb-8207-41b0-9114-e778aa2ef02e', x) for y in range(0, 5): gh.SetSliderValue('d82ad1ef-285d-4ba6-8ff8-880b57db6619', y*10) gh.RunSolver("taper.gh") test = gh.BakeDataInObject('a81ae54b-c561-40bd-987b-9567367dfe87') vect = (x * 17, y * 17, 0) rs.MoveObject(test, vect)
Posts: 2
Participants: 2