Grasshopper

algorithmic modeling for Rhino

Hi,

is there a manual/tutorial of some sorts somewhere that explains the syntax usable in the expression designer? It's really not intuitive to me.. " """ etc. ;D

Views: 1594

Replies to This Discussion

Have you seen the "Display function list" button?

yes, I have! actually, the question directly stems from working with your "split list every nth" definition, where you reformatted lists to fit the desired inputs of other components.. i.e. "{"&x&"}" to put formerly "naked" items in parentheses. I never could have figured out that string by myself, hence the question whether there's a reference somewhere!

x
Hmmm... I don't know if there is one central source.

I would always recommend looking through RhinoScript101 for general information:

http://en.wiki.mcneel.com/default.aspx/McNeel/RhinoScript101.html

The ampersand you specifically mention is used for string concatenation:

http://www.grasshopper3d.com/forum/topics/string-concatenation

But you can also format data with standard VB.NET functions (see the reply from David in this discussion):

http://www.grasshopper3d.com/forum/topics/e005-number-view-change-to
thanks taz!, I'll check the sources - but good to know that it is possible to use VB.NET, even though I don't know anything about it, yet! ;D

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service