the old script component allowed a type hint Guid - and was able to get the Guid of the connected Crv-Parameter-Source.
the new script component does not handle this conversion.
an additional “GUID” component is needed as workaround.
please bring back the old behaviour. thanks.
are you the right person to address ? @eirannejad
example
simple demo of getting the name “Heinreich” (the curve name)
private void RunScript(Guid id, ref object a)
{
RhinoDoc doc = RhinoDoc.ActiveDoc;
RhinoObject obj = doc.Objects.Find(id);
if (obj != null)
{
a = obj.Name;
}
}
guid_script_input.gh (8.2 KB)