Hello every one
If i have some lengths in only one list and i want to sort that "one list " to " 4 or more lists " according to the value of each length , and give each group of lengths a specific name
for example : this is my list ( 150 , 200 ,250 ,300,350 ,400 , 450 , 500 , 550 , 600 , 700 ,800 , 900 ,1000 ,1150 , 1200 , 1300 , 1400
and i want it like below lists
1- list from 150 : 500 ( 150 ,200 ,250,300,350,400,450 )
2- list from 500 : 700 ( 500 , 550 , 600 )
3- list from 700:1000 : ( 700 ,800,900,1000 )
4- list for more than or equal 1000 :(1000 ,1150 , 1200 , 1300 , 1400 )
Dear Nissal ;
thanks for your support , and sorry for delay to reply , i was so busy last days
Actually in All elements of category list , there is no empty or null item
but in get parameter value by name , there is empty items
and when i use clear list to delete empty or null items , it give me same list without any delete
i think the problem is that in All elements of category list it have " Round duct " item ( BTW i am try to make that list for duct "rectangular not round " to classify all section by its Gauges ( according to its size of width and height )
diameter value of round duct should not be there , and actually it is not there , but in its list index , it is empty . great , lets use clear list to delete empty items . surprise , it is not working because there is an item but its value is diameter not width or height
hello Nissal ;
there is another problem in that script
after i classify all of my duct ( width & height )
i want to get another parameter of select sizes , the new parameter is " Area "
i used get parameter by name node , but input of that node "element " does not accept filtered list
i do not know , what is the problem exactly
i think i should convert "double " list to element list , but i do not know how
Dear Nissal ;
thanks for your collaboration ;
Acually i need the second option ( area of only filtered elements )
you can find image as attached , and also Dyn file
I have modified as per 2nd option. im not sure how it will work since you took 2 conditions - width and height.
I have kept both the results. compare both the results of Area.