Hi all,
I wrote the script to list the functions for the following model:
I used the sort function (such as SORT_X, SORT_Y, AT_CONSEQUENCES....) example
aObjDefs = ArisData.sort(aObjDefs, Constants.SORT_X, l);
It does not matter whether I use the sort function, the report always shows Task 2 at the begining.
Appreciated if someone could give me some suggestions!
Thanks in advance.
Regards,
Jim

Jens Heylmann on
Jim,
SORT_X
Sorting the ObjOccList by its x-coordinate in the model.
You try to sort the object definition list. You have to sort the occurence list of the model and getting the object definition from them.
Greetings,
Jens