Vectorworks, Inc Employee Stephan Moenninghoff Posted January 23, 2017 Vectorworks, Inc Employee Share Posted January 23, 2017 I had assumed that the "Split List" node will split a list at a given index. I have used this node before with simple lists and it worked as advertised. Now I'm trying to split a zipped list and I'm finding that the split is not carried out at the specified index. It seems the list is split at the previous, unzipped index. This is the list to split (at index 15): Number of Items: 30 [0] = [(525.1999999999999, 0, 187), [182.71333333333334, 73]] [1] = [(0, 0, 0), [174.82333333333332, 97]] [2] = [(707.9133333333333, 0, 151), [151.42333333333332, 69]] [3] = [(525.1999999999999, 0, 0), [182.71333333333334, 107]] [4] = [(347.33666666666664, 0, 272), [177.86333333333332, 105]] [5] = [(0, 0, 97), [174.82333333333332, 82]] [6] = [(174.82333333333332, 0, 133), [172.51333333333332, 56]] [7] = [(707.9133333333333, 0, 88), [151.42333333333332, 63]] [8] = [(707.9133333333333, 0, 220), [151.42333333333332, 105]] [9] = [(174.82333333333332, 0, 242), [172.51333333333332, 82]] [10] = [(0, 0, 179), [174.82333333333332, 105]] [11] = [(859.3366666666666, 0, 204), [140.66333333333333, 69]] [12] = [(859.3366666666666, 0, 0), [140.66333333333333, 103]] [13] = [(525.1999999999999, 0, 107), [182.71333333333334, 80]] [14] = [(174.82333333333332, 0, 67), [172.51333333333332, 66]] [15] = [(707.9133333333333, 0, 325), [151.42333333333332, 67]] [16] = [(347.33666666666664, 0, 76), [177.86333333333332, 70]] [17] = [(859.3366666666666, 0, 103), [140.66333333333333, 101]] [18] = [(347.33666666666664, 0, 0), [177.86333333333332, 76]] [19] = [(0, 0, 284), [174.82333333333332, 80]] [20] = [(525.1999999999999, 0, 330), [182.71333333333334, 80]] [21] = [(707.9133333333333, 0, 0), [151.42333333333332, 88]] [22] = [(525.1999999999999, 0, 260), [182.71333333333334, 70]] [23] = [(859.3366666666666, 0, 273), [140.66333333333333, 52]] [24] = [(859.3366666666666, 0, 325), [140.66333333333333, 91]] [25] = [(347.33666666666664, 0, 146), [177.86333333333332, 72]] [26] = [(174.82333333333332, 0, 0), [172.51333333333332, 67]] [27] = [(347.33666666666664, 0, 218), [177.86333333333332, 54]] [28] = [(0, 0, 364), [174.82333333333332, 97]] [29] = [(174.82333333333332, 0, 189), [172.51333333333332, 53]] This is the first list: Number of Items: 60 [0] = (525.1999999999999, 0, 187) [1] = [182.71333333333334, 73] [2] = (0, 0, 0) [3] = [174.82333333333332, 97] [4] = (707.9133333333333, 0, 151) [5] = [151.42333333333332, 69] [6] = (525.1999999999999, 0, 0) [7] = [182.71333333333334, 107] [8] = (347.33666666666664, 0, 272) [9] = [177.86333333333332, 105] [10] = (0, 0, 97) [11] = [174.82333333333332, 82] [12] = (174.82333333333332, 0, 133) [13] = [172.51333333333332, 56] [14] = (707.9133333333333, 0, 88) [15] = [151.42333333333332, 63] [16] = (707.9133333333333, 0, 220) [17] = [151.42333333333332, 105] [18] = (174.82333333333332, 0, 242) [19] = [172.51333333333332, 82] [20] = (0, 0, 179) [21] = [174.82333333333332, 105] [22] = (859.3366666666666, 0, 204) [23] = [140.66333333333333, 69] [24] = (859.3366666666666, 0, 0) [25] = [140.66333333333333, 103] [26] = (525.1999999999999, 0, 107) [27] = [182.71333333333334, 80] [28] = (174.82333333333332, 0, 67) [29] = [172.51333333333332, 66] [30] = (707.9133333333333, 0, 325) [31] = [151.42333333333332, 67] [32] = (347.33666666666664, 0, 76) [33] = [177.86333333333332, 70] [34] = (859.3366666666666, 0, 103) [35] = [140.66333333333333, 101] [36] = (347.33666666666664, 0, 0) [37] = [177.86333333333332, 76] [38] = (0, 0, 284) [39] = [174.82333333333332, 80] [40] = (525.1999999999999, 0, 330) [41] = [182.71333333333334, 80] [42] = (707.9133333333333, 0, 0) [43] = [151.42333333333332, 88] [44] = (525.1999999999999, 0, 260) [45] = [182.71333333333334, 70] [46] = (859.3366666666666, 0, 273) [47] = [140.66333333333333, 52] [48] = (859.3366666666666, 0, 325) [49] = [140.66333333333333, 91] [50] = (347.33666666666664, 0, 146) [51] = [177.86333333333332, 72] [52] = (174.82333333333332, 0, 0) [53] = [172.51333333333332, 67] [54] = (347.33666666666664, 0, 218) [55] = [177.86333333333332, 54] [56] = (0, 0, 364) [57] = [174.82333333333332, 97] [58] = (174.82333333333332, 0, 189) [59] = [172.51333333333332, 53] Is this the correct behaviour? Quote Link to comment
Marionette Maven Marissa Farrell Posted January 23, 2017 Marionette Maven Share Posted January 23, 2017 This doesn't look right to me. I'll try to take some time today to see what's going on. Quote Link to comment
Marionette Maven Marissa Farrell Posted January 23, 2017 Marionette Maven Share Posted January 23, 2017 Okay, I modified the node I created last year... This appears to solve the issue, at least on my end. It does still have some limitations that will require some more handling, but I think it should work for what you're trying to do right now. Let me know if you run into any issues. SplitList_NEW_MFarrell.vwx 1 Quote Link to comment
Vectorworks, Inc Employee Stephan Moenninghoff Posted January 23, 2017 Author Vectorworks, Inc Employee Share Posted January 23, 2017 Wow, that's a fast response. Works like a charm now. Thank you! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.