Grasshopper

algorithmic modeling for Rhino

Hi All. I am developing a VB component and i need to reproduce exactly the logic behind Data Dam compo. Can anyone share the code ?

Views: 1298

Replies to This Discussion

Hi Fourteam,

is this a VB script component or are you using Visual Studio to develop this?

--

David Rutten

david@mcneel.com

Tirol, Austria

Hi David, nice to talk to you. No, it´s not a VS project, my knowledge about vb.net is quite limited, Im trying to write a VB component, having previously seen some forum threads related to this, but without any success... The goal is to take control (as an input of that component) of the time delay, in order that it starts/ends when i need it.

Since you're not using Visual Studio, you probably shouldn't be overriding the attributes of an object, so it can never look like the Data Dam. It is however possible to put a delay on a component.

However note that VB/C# components operate on 'safe' data, meaning that if you use the input arguments instead of collecting everything from source data it won't work the same as a native component. I can write up a component but it'll have to be after breakfast...

--

David Rutten

david@mcneel.com

Tirol, Austria

Actually I just realised this is pretty difficult within the context of a VB component as you cannot override the base component expiration logic. 

--

David Rutten

david@mcneel.com

Tirol, Austria

Oh, I'd want it to be easier, i need the delay-time value as an external input, or at least allow the constant computing to be switched on/off, what may be not that complex?..is it? Thanks for your time.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service