algorithmic modeling for Rhino
Hey to all.
I'm fairly new into programming with the VB-Component in Grasshopper and I'm limited with my (poor) programming know-how. But I hope you can feel a little sympathy for me ;-).
Is it possible to search for components, which have no source connected on their inputs ?
Any Help would be greatl appreciated
Thx alex
Tags:
Thx David for the fast reply.
I understand the things you did. So all I have to do is to search for the objects which have a param.SourceCount > param.Sourcecount -1 for finding objects which have at least one "open" input ?
If you're specifically searching for components then the code becomes a bit easier. If you want to include in your search other types of objects as well (as I did in my example code) then you need to use the AppendToAttributeTree trick.
Searching for components with specific input topology might look like the attached.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by