Grasshopper

algorithmic modeling for Rhino

how to prevent a revised ladybug or honeybee component from been updated?

I added a few lines of new Python codes to a Honeybee component by double click the component and revised the code in the Grasshopper Python Script Editor interface.

However, these codes were gone when I updated the Honeybee components.

I understand that all LB+HB components are GhPython component. So, which of the following lines of standard code in a LB+HB component can be removed to prevent it from been updated while still maintain the ability to call LB+HB core libraries?

Thanks!

Views: 201

Replies are closed for this discussion.

Replies to This Discussion

Update component checks the date of the component and if the date is older than the available version it will update the component. To avoid that to happen change the date to 2017 and a higher version! Try to replace line 57 with the line below.

ghenv.Component.Message = 'VER 0.0.80\nDEC_31_2017'

noted with thanks, Mostapha, for your advice!

-Ji

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service