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: 

Linking Picklist access in a script

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Rohan.Raj
459 Views, 3 Replies

Linking Picklist access in a script

Hello Team,

 

Good day.

I have a workspace there is a field which is linking picklist item with search filter from another workspace.

I am able to filter the item in edit mode and save it.

However  in an action script, when I try to access the linked item I always get null.

 

Could you please help with the above problem.

I am trying to access the linked item and perform a transition on it.

 

Regards

 

3 REPLIES 3
Message 2 of 4
dvirh
in reply to: Rohan.Raj

Hi Raj,

 

I am trying to reproduce your scenario but it seems to be working fine for me. Here is my Linking PL with Search definition:

 

Picklist.jpg

 

And when I access it with the following script I get the correct title for the item:

 

var linked = item.PL_W_SEARCH;
println(linked.TITLE);

 

Can you try to see what is different about your setup?

Hagay Dvir
Engineering Manager
Fusion Manage
Autodesk, Inc.
Message 3 of 4
Rohan.Raj
in reply to: Rohan.Raj

Hello Hagay,

 

Thanks for the response.

I am able to access the linked item via a script.

The issue I am facing is that when I debug a script and provide the needed details for an item.

I am able to view the item contents, however linked items from a pickerlist are always null.

I am not sure what is it that I am doing incorrectly.

 

Regards

Rohan

Message 4 of 4
gasevsm
in reply to: Rohan.Raj

Hi,
This is a debugger bug. Will be fixed with a future release.
--
mg

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