-
0
1
1
- 634371563954775969
-
0
8
7
- true
- true
- bcab34d7-7676-4ca1-8a3c-cd1ac6668f99
-
100;150;0;0
-
100;0;120;0
- Wireframe
- remove_duplicate_value_00.ghx
- 634370782712803403
- 0
-
-622
-1166
- 1.25
- 0
- 5
- 59e0b89a-e487-49f8-bab8-b5bab16be14c
- Panel
- Panel
- A panel for custom notes and String values
- e1e1cd5d-373f-4660-8828-ef4363d41e9b
- false
- true
- true
- 0
- 2
5
2
5
7
5
10
10
14
5
2
14
16
25
14
- false
- true
- true
- 1
- 0
- false
-
255;0;0;0
-
255;255;250;90
-
579
964
132
238
-
579
964
132
238
-
579
964.8749
- false
- 3e8ca6be-fda8-4aaf-b5c0-3c54c8bb7312
- Number
- Number
- Num
- Represents a collection of double precision floating point numbers
- 427475a9-b9d9-4ce8-a348-a3d07ce19d79
- false
- true
- true
- 1
- e1e1cd5d-373f-4660-8828-ef4363d41e9b
-
740
1072
50
20
-
740
1072
50
20
-
765.4875
1082.763
- false
- 1e9e08fc-c31e-49eb-a36c-90de5e62e5f5
- VB Script
- Dim i As Int32 = Nothing
Dim j As Int32 = Nothing
Dim ValueA As Double = Nothing
Dim ValueB As Double = Nothing
Dim BoolValue As Boolean = Nothing
' RI = index number to remove
Dim Ri As New List(Of Int32)
' Upgrade list
Dim UPGL As New List(Of Double)
' list leght
Dim LL As Int32 = Nothing
'''''''''''''''''''''''''''''''''''''''''''''''''''''''
' SET STARTING VALUES
LL = Values.Count
i = 0
'''''''''''''''''''''''''''''''''''''''''''''''''''''''
'WHILE LOOP
While i < LL - 1
Values.ToArray
Values.Sort
ValueA = Values(i)
For j = i + 1 To Values.Count - 1
ValueB = Values(j)
If (ValueB > ValueA) Then
BoolValue = False
ElseIf (ValueB < ValueA)
BoolValue = False
Else
'BoolValue = True
Ri.Add(j)
End If
Next
' CONTROL IF Ri IS POSITIVE, IF IS POSSIBLE TO FIND OUT DUPLICATE VALUES
If (Ri.Count > 0) Then
'remove duplicate numbers
Values.RemoveRange(Ri(0), Ri.Count)
End If
' CLEAR ALL THE OTHER LIST
Ri.Clear
' FIND NEW VALUE OF THE LIST'S LENGHT
LL = Values.Count
' increment counter
i = i + 1
End While
A = Values
- 0
- VB Script
- Remove DupValues
- A VB.NET scriptable component
- 73cb4622-1dbb-4cf4-b0eb-182e61bb2029
- false
- true
- true
- longest_list
-
814
1010
97
142
-
860
1012
24
138
-
872
1081
- false
- 1
- 84fa917c-1ed8-4db3-8be1-7bdc4a6495a2
- Variable Values
- Script Variable Values
- 1
- true
- true
- 2
- 3ede854e-c753-40eb-84cb-b48008f14fd4
- Output
- Print, Reflect and Error streams
- true
- false
- 8ec86459-bf01-4409-baee-174d0d2b13d0
- Result A
- Output parameter A
- true
- false
- Variable Values
- Values
- Script Variable Values
- bebc2b06-a0b6-49f0-b44e-8195359f8e5a
- true
- true
- true
- 1
- 1
- 427475a9-b9d9-4ce8-a348-a3d07ce19d79
- 8e991e99-5fb8-41e1-928d-1bba8fb9f7d7
- true
- true
-
816
1012
41
138
-
816
1012
41
138
-
838
1081
- false
- Output
- out
- Print, Reflect and Error streams
- 465746bb-c370-44cd-b9e7-41966135af08
- false
- true
- true
- 0
-
887
1012
22
69
-
887
1012
22
69
-
899.5
1046.5
- false
- Result A
- A
- Output parameter A
- a9adea2c-0bcc-42ce-be25-587502bf6134
- true
- true
- true
- 0
-
887
1081
22
69
-
887
1081
22
69
-
899.5
1115.5
- false
- 59e0b89a-e487-49f8-bab8-b5bab16be14c
- Panel
- Panel
- A panel for custom notes and String values
- 90e23403-93af-49ff-99bb-9ff85826fc74
- false
- true
- true
- 1
- 465746bb-c370-44cd-b9e7-41966135af08
- Double click to edit panel content…
- true
- true
- true
- 1
- 0
- false
-
255;0;0;0
-
255;255;250;90
-
971
989
201
47
-
971
989
201
47
-
971.036
989.7076
- false
- 59e0b89a-e487-49f8-bab8-b5bab16be14c
- Panel
- Panel
- A panel for custom notes and String values
- 95d4f210-dd96-4ac0-89a5-ae776e8257c7
- false
- true
- true
- 1
- a9adea2c-0bcc-42ce-be25-587502bf6134
- Double click to edit panel content…
- true
- true
- true
- 1
- 0
- false
-
255;0;0;0
-
255;255;250;90
-
971
1041
201
182
-
971
1041
201
182
-
971.236
1041.204
- false