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: 

Cloning BOM in script

1 REPLY 1
Reply
Message 1 of 2
erictorp
445 Views, 1 Reply

Cloning BOM in script

Hello,

 

I am attempting to write a script to create a new item based on a workflow action, and then clone the BOM from the current item to the new item. However, when I run the script, it returns the following error: java.lang.IllegalArgumentException: id to load is required for loading.

 

Any suggestions as to what I am doing wrong?

 

Thanks

1 REPLY 1
Message 2 of 2
liumi
in reply to: erictorp

Presently adding BOMs to a new item (created in the same script) is not supported. This feature will be added in the future update.

Now you may need seperate the task to 2 scripts:

The frist script is used to create the new item, and the second script is used to clone BOMs to that item.



Michal Liu
Software Engineer
Product Lifecycle Management
Autodesk, Inc.

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

Post to forums  

Autodesk Design & Make Report