Grasshopper

algorithmic modeling for Rhino

why is it that if i create a "RhinoList" of C# struct, when i call a property of that struct ala "<atype> bob = myStruct.myProperty " the "myProperty" part will autofill or aleast give me a drop down list of my options, but if i write the exact same code as a "List" it wont, meaning that i have to type out the exact property i want?

also, im writing this in the grasshopper C# script component not VS, i havent tried this in VS.

its not the end of the world that i have to do this but its a little annoying.

if you're wondering why im using List instead of Rhinolist. List seems to play nicer when being passed into a structure.

go Team USA bobsleders!

Views: 592

Replies to This Discussion

The code editor we use has a bug that prevents it from showing autocompletion for List<T>. I don't know why, it broke with a recent release and it hasn't been fixed.

I prefer List<T> as well, and the lack of autocompletion is super annoying, though by now I've memorised all the methods the belong to List so I can sort of work around it.

--

David Rutten

david@mcneel.com

no problem, just curious.

thanks

Mario

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