Grasshopper

algorithmic modeling for Rhino

Hi all,

Has anyone successfully assigned a function to an object using userdictionary?

It works for assigning an integer or a geometry but when I assign a function it returns True instead of the function. Here is an example:

Thanks,

Mostapha

Views: 536

Attachments:

Replies to This Discussion

Hi Mostapha,

I've been wondering about this myself. Or more specifically, what data types one can add to the RhinoCommon UserDictionary. Seems like a question for the new McNeel Discourse forum perhaps. Now that the old Python forum is no longer.

Best,

Anders

Hi Anders,

Thank you for your suggestion. It was a good initiative to send my first post to McNeel Discourse Forum: (http://discourse.mcneel.com/t/assign-a-function-to-an-object-using-...)

We will see how it goes.

Best,

Mostapha

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service