Hi I have series components created using Rhino 7 and the method below compiling the python codes to ghpy. Seems like now Rhino 8 have Rhino Script Editor and all-Rhino Python compiler what is the proper process of converting what I created using the old ghpy compiling method? I tried doing some digging but couldn’t find anything specific that outlines the process.
Closest one I was able to locate was this below. But I’m still a little confused on how I can take what was written in pythonSDK mode and properly convert it to the new method.
Obviously this is just stripped dumb version but previous generated source codes before compiling looks in the somewhat like this. Any insights or guidelines how I might approach this is greatly appreciated.
You’d need to convert your GHPython script components into the new IronPython 2 component for it to be recognized in the Script Editor project. It doesn’t matter if they are SDK-mode or plain scripts.
Let me know if you have specific questions on the process and I can help
Hi thank you for your response. So far things have been working pretty well but I had couple question as I’m slowly converting them to the Rhino 8 IronPython 2 component which I’m hoping you have answer to
Previously I had a unique guid set for each of the component when using the GHPY compiling method and it was through that I was able to make updates to the component. Is that something possible via this method? or how would I update the component so that any updates will be applied to files using those components?
Maybe this might be tied to the above. In the script editor, how do I refresh the reference source file without needing to reimport the file? Especially if I’m setting icons, descriptions, subcategory in the script editor, it’d be great if I can refresh the reference file without needing to delete and re-add in the file which would eliminate the step of needed to re-enter those information.
How would I repath a reference file if the source folder got re-named, file got moved etc. Currently if I were to move the file to a different location it will give me a warning, which makes sense as the reference is gone.
This may be not directly related to the conversion from ghpy to scriptEditor question but I was also referencing your video of using the script editor(really helpful btw. thank you for putting it together) how would I put description, assign nicknames to inputs created through contextual inputs and context print.