Grasshopper

algorithmic modeling for Rhino

Dear All

I am trying to write a simple expression of f(x)= x-1  using component Evaluate component.

Could anyone tell me how I should input the expression please? I tried to input x-1 but it would not work,

Appreciate any help at all.

Pls find the screen shot of the expression for your reference

Many thanks!

Yutaka

Views: 995

Attachments:

Replies to This Discussion

Hi Yutaka, it's a bug. Turn off 'Draw Full Names' in Display menu.

Hi Pieter
O I see, thank you so much for your quick help, I will give that a try, thanks for clearing my misery much appreciated!

suggest what Pieter said or you could write (Variable x - 1) instead "x-1"

Hi Aditya
Thats marvelous, thanks a million, bless you!

Hmm... that is not working for me.
Besides turning off the FullNames, renaming just the variable to "x" (when still using Draw Full Names) works over here.
But if it is working for you, then nevermind. (I never use the DrawFullNames anyway).

Variable names are not allowed to contain spaces, so that doesn't work.

Sorry for the incomplete answer. Yukata, you could do as Pieter says or else (if you are not comfortable in using symbols for input) you could simply change the input variable name. But also, delete any extra input that you are not using, Refer Image.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service