Suitable Grasshopper Scripts

Suitable Grasshopper Scripts

eizinmyat
Advocate Advocate
453 Views
1 Reply
Message 1 of 2

Suitable Grasshopper Scripts

eizinmyat
Advocate
Advocate

Hello everyone,

 

Good evening!!

 

I would like to ask you about Grasshopper scripts in Rhino Inside Revit. Is there any grasshopper scripts that I could change the calculation from addition to subtraction and on the other hand from subtraction to addition automatically based on the number that I inserted in the panel.

 

For example, I insert +1500 in the panel and  calculation calculated in the picture that I have attached below. Oppositely, if I insert -1500 and I want my calculation process changed opposite from addition to subtraction. If you all have any suitable scripts, could you explain it to me?

 

Thank you all.

Have a nice day, everyone!!

 

Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.

Ei Zin Myat
Technical Sales Unit Engineer
ONESTRUCTION Co., Ltd.
eizinmyat@onestruction.com
0 Likes
454 Views
1 Reply
Reply (1)
Message 2 of 2

msgambelluri
Advocate
Advocate

The x+y are hardcoded components.

Consider using the expression component

Here is a sample to help you get started.

msgambelluri_0-1719447758141.png

 

Marcello Sgambelluri

EESignature