ints (where 2 are null). Why is it so?
The problem is that I generate only one or the first polyline of the X division wanted!
How can I fix that?
Thanks for your help...
Sam…
tName_FinalProject_PartD.pdf
Below is the desk crit list, please sign up for a spot in the comments below:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
See you Monday!…
erations, is not it?
This is what I finally want and how I plan to do it:
In the starting tree, points are listed accordingly to the (11) 4-side-panels they belong to. I need to do a tree where each of the 11 lists contains not the points composing the panels but the points code of the points composing the panels. the point code is the number in the flattened list that refers to the points (like, panel 1 is made of points n 0,1,4,18, and so on). To do this, I suppose that I will use my tree of 11 lists of 33 true-false values, and apply it to cull 11 times a series of numbers from 0 to 32. I ll post it if it works!…
fashion. First the indices are wrapped into the valid domain (assuming W=True), then, starting at the highest index, the first item is inserted into the existing list. Then the item with the second highest index is inserted into the list and so on. This means that if you first insert an item at index=8 and then insert an item at index=6, the first item will be bumped up to index=9.
If you want to add three items to the end of your list, the indices you're after are 11, 11, and 11.
…
Added by David Rutten at 4:27am on September 1, 2017
nput parameter and then set the named values on the second?
protected override void BeforeSolveInstance() { Param_Integer param0 = Params.Input[0] as Param_Integer; Param_Integer param1 = Params.Input[1] as Param_Integer; param1.ClearNamedValues();
GH_Structure<GH_Integer> data = param0.VolatileData as GH_Structure<GH_Integer>; if (data.IsEmpty) return; foreach (GH_Integer value in data.AllData(true)) { switch (value.Value) { case 1: param1.AddNamedValue("First option for 1", 11); param1.AddNamedValue("Second option for 1", 12); param1.AddNamedValue("Third option for 1", 13); break;
case 2: param1.AddNamedValue("First option for 2", 21); param1.AddNamedValue("Second option for 2", 22); param1.AddNamedValue("Third option for 2", 23); break;
case 3: param1.AddNamedValue("First option for 3", 31); param1.AddNamedValue("Second option for 3", 32); param1.AddNamedValue("Third option for 3", 33); break; } return; } }
--
David Rutten
david@mcneel.com…
Added by David Rutten at 1:56am on December 18, 2013
nts (where 2 are null). Why is it so that there is only this list of points output?
The problem is that I generate only one polyline of the X division wanted!
How can I fix that?
Thanks for your help...
Sam…
your projects in class this week. Please use the comments to sign up for a spot number. You will be required to work in class until at least 9 PM and you must meet with me before you go to get credit for the class.…