I want to make new Component like using mouse.

I want to make new Component like using mouse.

maeokaQ2NB3
Advocate Advocate
664 Views
4 Replies
Message 1 of 5

I want to make new Component like using mouse.

maeokaQ2NB3
Advocate
Advocate

Hi,everyone.

I want to create a new component using the API.In the AddExistingComponent command, the parameters are the same, so I want to know how to make new component(occurrence?) like copy & paste with the mouse.files.JPG

0 Likes
Accepted solutions (1)
665 Views
4 Replies
Replies (4)
Message 2 of 5

goyals
Autodesk
Autodesk

It would be helpful If you can clarify your question a bit more. AddExistingComponent is meant for copying an existing component through API like copy-paste in UI and AddNewComponent is meant to create new component. Is there any issue you noticed with any of the these two API?



Shyam Goyal
Sr. Software Dev. Manager
0 Likes
Message 3 of 5

maeokaQ2NB3
Advocate
Advocate

Thank you very much.
copy & paste components with the mouse, the two components will work separately but addExistingComponent command will move together.

 

I want to use functions like separate operation ~ paste new

 

1.png

0 Likes
Message 4 of 5

goyals
Autodesk
Autodesk
Accepted solution

Paste new functionality is not exposed through API at the moment but I found this workaround posted by one user 

 

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/copy-component-occurrence-paste-new-via-th...



Shyam Goyal
Sr. Software Dev. Manager
0 Likes
Message 5 of 5

maeokaQ2NB3
Advocate
Advocate

Thank you very much.
It worked well!

0 Likes