Grasshopper

algorithmic modeling for Rhino

ghPython looses parameters on copy or load/save [SOLVED(ish)]

Hi all,  

Every time I copy or reload a ghPython component, it looses some of its parameters!  

As in the actual parameter pin is deleted from the component, requiring me to manually go in and recreate it every time.

I'm not sure if its just me but as you can imagine this gets annoying fast when you have 20 or so components in a file and you have to rebuild each one every time you reload the script.

Views: 415

Replies to This Discussion

Hi Theron,

Which versions of Grasshopper and the Python component are you running? There were some issues when the Python component was updated to 0.5 +. The main offenders being the "code" input parameter and the "out" output parameter.

If you update to 0.5.1.0 and always keep "Presentation style" -> "Show code input parameter" to OFF and "Show output out parameter" to ON, you should be good. Might have to copy/paste the script into a new Python component for this to work.

Best,

Anders

Thanks Anders!

That did the trick

For the record, I'm running Rhino 5.4.30524.11065 and gh 0.9.0056

Andres suggestion will solve the issue but this is indeed a bug: https://github.com/mcneel/ghpython/issues/46

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service