USE CASE:
I want to create a composite or library node that takes any input data, along with a supplied delimited list of field names, and sort them by those fields. I want to supply the list of fields in a property; comma-delimited as the number of sort fields would be variable.
SOLUTION:
For the Sort node, parameter substitution into the Advanced script will work, as long as you provide it valid python, e.g.
fields["type"],\
fields["id"],\
fn.desc(fields["rand"])
Note: Parameter editor specification, and widget inheritance of defined parameters is coming in a later release.
Comments
0 comments
Please sign in to leave a comment.