Grasshopper

algorithmic modeling for Rhino

This post is a continuation from an older post about finding the name of a Grasshopper document.

I'm attaching some Python that pulls some basic data from the document (author, date created, file path, etc.) It includes the code posted in the forum link above which lists add-on libraries currently in use, as well as their versions.

Here are my remaining questions:

  1. Why is the addOns output listing the Grasshopper library and how can I avoid this?
  2. Why is the addOns output not listing the Gh Python interpreter currently in use?
  3. I would like to be able to toggle the run inputs to False and have it leave the recorded data in the output panels (instead of reverting to <null>). This way old data could remain until someone wants to intentionally overwrite it. How might I approach this?

Thanks!

Brian

Views: 3596

Attachments:

Replies to This Discussion

Giulio - those methods are only to store the data in the Rhino document not the Grasshopper document, right?

Correct, there are no ways to add data to the GH document or to GH objects. You'll have to partake in (de)serialization by having a component in the document which stores all the data.

Okay cool that's what I thought. Thanks!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service