Announcements

Community notifications may experience intermittent interruptions between 10–12 November during scheduled maintenance. We appreciate your patience.

Fusion 360 Python API - Correct call to remove components from design tree or timeline

Fusion 360 Python API - Correct call to remove components from design tree or timeline

AloneButt
Explorer Explorer
133 Views
2 Replies
Message 1 of 3

Fusion 360 Python API - Correct call to remove components from design tree or timeline

AloneButt
Explorer
Explorer

Hello everyone!

 

I’m working on a Fusion 360 Python script where I need to clear the design at the end of its execution.

 

I hit a wall when it became necessary to REMOVE the components. I figured out how to DELETE components and SUPPRESS timeline objects; however, I need to keep the earlier history and dependencies after the removal, therefore, those are not an option.

 

I searched the net, looked through forums, and asked AIs a lot of questions, but could not locate the correct call or a way to do 'Soft delete' through a script.

 

I’d appreciate any guidance or a working example. Thank you!

0 Likes
Accepted solutions (1)
134 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor
Accepted solution

Have you tried creating a RemoveFeature

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3

AloneButt
Explorer
Explorer

Thank you!

0 Likes