algorithmic modeling for Rhino
I would like to add additional output nodes from within my GhPython script, however I am somewhat confused about two things,
1. My understanding is that this is not possible because GhPython scripts occur during the solution. Is this correct?
2. If it is possible how do you go about it? I was trying to use the GH_ComponentParamServer..::..RegisterOutputParam Method (IGH_Param) boolean but I couldn'nt work out how to pass it a class that implements the IGH_Param interface
Does anyone how some sample code that you can share?
Any insights are much appreciated, thank you!
Tags:
Adding input/output parameters on a GHPython component from within the script is possible, however I never got around to looking into it properly (although it would actually be rather useful in my current dev workflow). Perhaps Djordje has since solved it, let's see if he pops up :)
Hi Anders,
Thanks for your reply,
It is indeed possible I found a solution in the code seen here: http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3...
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by