Hi, everyone. I am compiling my python script. After compiling the ghpython script, input variable’s description changed as shown in the image. (“Marshalling signal parameter”)
Does anybody know how to make a new component with variable descriptions similar to a normal component?
(Icon for type + description)
If you want that, the simplest way is to program your component to have input “Pl” with a “Type Hint” of Polyline.
This is because, if you use the RhinoScript one, Grasshopper will have to be informed that the input is special, and needs to marshal objects to the Grasshopper document.
Thanks,
Giulio
–
Giulio Piacentino
for Robert McNeel & Associates giulio@mcneel.com
Hi.Giulio, i have the same problem.
because my Input is datatree with different Kinds of geometry, so i chose TreeAccess and Type hint of ‘’ ghdoc Object when geometry(rhinoscriptsyntax)’’.
After compiling the ghpython script, even the Name of Input changed to ‘‘Marshalling Signal parameter’’, although it doesn’t influence the use.
I wonder if i can Keep the orginal Name instead of ‘‘Marshalling Signal parameter’’ or should i choose other Kind of Type hint? I already tried Geometrybase,but it doesn’t work.