compute.rhino3d icon indicating copy to clipboard operation
compute.rhino3d copied to clipboard

Script access

Open sbaer opened this issue 3 years ago • 1 comments

Provide a way for python/C# scripts to execute the logic of a hops component.

sbaer avatar May 30 '21 14:05 sbaer

For starters, we need to figure out what it is users want to script

This type of syntax works, but is pretty ugly

import Grasshopper

obj = Grasshopper.Instances.ComponentServer.FindObjectByName("Hops", False, False)
a = obj.CreateInstance()
a.RemoteDefinitionLocation = "http://localhost:5000/pointat"

sbaer avatar Jun 18 '21 20:06 sbaer