Grasshopper

algorithmic modeling for Rhino

Hello,

 am new to python and I like to know how to add text from python script via grasshopper.

I tried but it says it is not callable and is showing some error to add script object.

I dont know what to do. This might be easy, So help me . Thanks

Views: 2748

Replies to This Discussion

Grasshopper still does not support some Rhino's object types. I assume you were trying to use the annotation text dot object, and got an error message?
You could make a separate output from your ghpython component, and feed the list of those strings into grasshopper's "Text" component.
As far as I remember, calling the same component's function from ghpythonlib.components module did not work. But still try it, maybe something changed in the meantime.

Hi djordje,

 I figured it out how to add but i have 2 problems

1. I want to eliminate the point which comes along with thte tag

2. I want to add both tags in single function

see the attachments

Attachments:

Hi Gohan,

Try this.

Attachments:

Thanks it worked

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service