Grasshopper

generative modeling for Rhino

So I am trying to use the round function.  From the expression editor function list is says 

Round(x[,d])

The issue is when I type this in I get an invalid expression (1519)

 

I am sure I don't have something correct with the syntax, but can't figure it out.  Anybody else run into this problem.

 

Dennis

Views: 359

Reply to This

Replies to This Discussion

Figured it out.  Instead of Round(x[,d])

it's Round(x,d).

Not sure why the square brackets are listed.

Hi Dennis,

 

square brackets indicate optional arguments in VB documentation notation. So you can type both Round(x) and Round(x, d)

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hey David,

 

I was wondering if d could be integrated to the round component? I was happy to see the round component. But I do not use it (most of the time), because the d is important.

 

 

Best Regards

DeDackel

 

ps.: hope you had some fun in Berlin :-)

RSS

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service