Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add-In trouble

2 REPLIES 2
Reply
Message 1 of 3
brad.bylls
132 Views, 2 Replies

Add-In trouble

I have added a video to explain my problem and the code to go with it.

The code works when I create something in F360 but if I bring in a step file from a website it does not.

Brad Bylls
2 REPLIES 2
Message 2 of 3
BrianEkins
in reply to: brad.bylls

I didn't try running your code, but from watching your video, I can see in the first case, the design is set to capture the design history, and in the second case, it is not. In the imported file, right-click on the browser's top node, choose the "Capture Design History" command, and then see if it works.

 

BrianEkins_0-1686670349045.png

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3
brad.bylls
in reply to: BrianEkins

Thanks Brian.

Adding the design history solved the error problem.

 

Brad

Brad Bylls

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report