Hi Kenjung, If you have access to Ravel Standard Library, please use the following code: (include "standard/basic") (define longest_wire (transform (w) (CHOOSE_MAX wire length) (w (length w)))) if you do not have the standard library files, please use the following macro: (macro CHOOSE_MAX (Object Measure) "CHOOSE_MAX [object] function/measurement => [object] Find the object for which the measurement is smallest. If the objects themselves are the values to be compared, IDENTITY can be given as the measurement function." (CHOOSE Object greaterp Measure)) Thanks, Bindu
↧