Advertisement
Guest User

Untitled

a guest
Apr 12th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.38 KB | None | 0 0
  1. List<System.Object> geoms = new List<System.Object>();
  2. List<string> guids = new List<string>();
  3.  
  4. foreach (IGH_Param param in Component.Params.Input[2].Sources)
  5. {
  6.     foreach (Object myObj in param.VolatileData.AllData(false))
  7.     {
  8.         geoms.Add(myObj); // these are the object geometries
  9.         guids.Add(param.InstanceGuid.ToString()); // these are the guids of the parent componenets
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement