Fusion Manage Forum
Welcome to Autodesk’s Fusion Manage (formerly Fusion 360 Manage) Forum. Share your knowledge, ask questions, and explore popular Fusion Manage topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get sorted list of items?

1 REPLY 1
Reply
Message 1 of 2
ravidalli
228 Views, 1 Reply

How to get sorted list of items?

I am trying to address script timeout issues by processing chunk of records in one iteration and next chunk in next iteration.

 

Lets say I have a list of 100 items which need to updated based on some logic.

I am planning to break 100 items into 10X10 and process 10 item in single script execution. So 10 script executions will complete the task.

 

My workspace "Test-workspcae" has a multiselect picklist which gets its data/records from "Items and BOMs" workspace.

I am planning to execute the script on "Test-workspace" item and which has 100 "Items and BOMs" records in its multiselect picklist field.

 

Now in the script when I do a println to see items in Multiselect picklist field , Everytime I execute the script the order of items is different.

 

So my question is there a way to get a ordered list of values for a Multiselect picklist field.

 

If not I wil have to fnd different way to address timeout issue.

 

Ravi

Tags (2)
1 REPLY 1
Message 2 of 2
gasevsm
in reply to: ravidalli

Ravi, interesting request. ) Cuold you clarify the need to have the list sorted?


Martin Gasevski | Fusion 360 Team Product Manager

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report