When a grid view layout is open to show data tree items is there a way to keep this window open do things in grasshopper.
Only if the the eto window is closed grasshopper is open for interaction.?
import Eto.Forms as forms
import Eto.Drawing as drawing
import Rhino.UI
import ghpythonlib.treehelpers as thif x:
class TestDialog(forms.Dialog):
def init(self):
self.Title = “Cell Colors”
self.Size = drawing.Size(500,200)
self.Resizable = Trueself.grid = forms.GridView() self.grid.Size = drawing.Size(300,200) for i in range(0,y.BranchCount): Branch= forms.GridColumn() Branch.DataCell = forms.TextBoxCell(i) self.grid.Columns.Add(Branch) self.grid.DataStore = zip(*[list(i) for i in y.Branches]) layout = forms.DynamicLayout() layout.AddRow(self.grid) self.Content = layout def main(): dialog = TestDialog() dialog.ShowModal(Rhino.UI.RhinoEtoApp.MainWindow) if __name__ == "__main__": main()