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: 

Scripting Access to Linked Items

2 REPLIES 2
Reply
Message 1 of 3
Asingh5
347 Views, 2 Replies

Scripting Access to Linked Items

Hi I just saw that there was a update for Scripting Access to Linked Items. I wanted to know how to exactly use it. The Wikihelp section only tells you that theres a new object array: itemWorkflowItems, it doesnt really tell you how to use it with an example script.

 

Can someone provide an example script using this feature?

2 REPLIES 2
Message 2 of 3
dkeeley
in reply to: Asingh5

Hi,

 

I was able to get it working over the weekend. The following is a bit of the code that I used;

 

var linked_item = loadItem(item.workflowItems[1].id);
linked_item.ORIENTATION = 'Vertical';

 

Hope this helps.

 

David.

Message 3 of 3
dkeeley
in reply to: dkeeley

From my testing you can use the new functionality the following way;

 

item.workflowItems.length                 [Number of linked items]

item.workflowItems                            [Returns entire array]

item.workflowItems[i].id                      [Returns the id of the row number i in the array]

item.workflowItems[i].descriptor

 

Hope this helps,

 

David.

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

Post to forums  

Autodesk Design & Make Report