PeterP1
Materials
- Mar 27, 2009
- 9
Hello!
Currently I'm working on a Python script and I'd like to know whether it is possible to create sets with entries sorted by a particular criterion?
In my case I need a node set with nodes arranged by their y-coordinates. Is it possible, for example, to generate a list of node labels, to rearrange the entries of the list and to create a set from that list afterwards?
Thanks a lot!
Currently I'm working on a Python script and I'd like to know whether it is possible to create sets with entries sorted by a particular criterion?
In my case I need a node set with nodes arranged by their y-coordinates. Is it possible, for example, to generate a list of node labels, to rearrange the entries of the list and to create a set from that list afterwards?
Thanks a lot!