Grasshopper

algorithmic modeling for Rhino

Hi

 

I'm trying to rearrange a list. With a path mapper I'm getting close, but for some elements it returns <null> instead of the value.

 

any suggestions?

 

at the right index=5 should be also 5, just as index=6

 

Views: 380

Replies to This Discussion

Hi Nicolas,

 

the value in the left list at branch {0;5;0} is empty/null, so null is returned to the right list in index 5.

I don´t know what you are trying to do, but there is a component to test if a value is null, then you can delete it, replace it with a value or whatever you want...

 

hope this helps

 

Christoph

Christoph has been faster than me...

 

Hey Nicolas,

 

I have got a file that shows you the problem. To create a panel Information like yours you have to create a null item. It has got no information or value.

 

Dackel

Christoph,

 

thanks a lot. It seems the problem was elswhere in my script. I thought there couldn't be <null> items, but I guess I was wrong.

 

problem solved

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service