SketchCopy Add-In Sample

SketchCopy Add-In Sample

zhijie.li
Alumni Alumni
1,055 Views
4 Replies
Message 1 of 5

SketchCopy Add-In Sample

zhijie.li
Alumni
Alumni

There used to be some posts in forum saying that they wish to copy a sketch from one document to another. However it doesn’t support the feature in current Fusion. So I did some investigation and created an add-in “SketchCopy” via Fusion API in JavaScript which can support cross document copying for sketch. Hopefully this can help the users who have such needs. And it can be also considered as a demo to show what Fusion API can do with sketch.

You can download “SketchCopy.zip” in attachments and refer to video “HowTo.swf” to see how to use it.

Besides, the add-in doesn’t support conic curve and elliptical arch for now. If you met any issue, please let me know.

Regards,

Zhijie

Accepted solutions (1)
1,056 Views
4 Replies
Replies (4)
Message 2 of 5

zhijie.li
Alumni
Alumni
Accepted solution

For how to use it, please find the video in url https://youtu.be/TX-3yG6TKsw

Message 3 of 5

Anonymous
Not applicable

Thanks for the script. Very handy for much needed function.

0 Likes
Message 4 of 5

will.dameron
Enthusiast
Enthusiast

Has anyone been using this Add-In?

 

I installed it, and I appear to be able to copy a sketch no problem. But, when I go to paste in a new drawing it doesn't work and gives me the error: "command executed failed: Environment is not supported"

 

As near as I can tell my workflow is the same as the how to video. I create a sketch, use the app to copy the sketch, go into a new project, use the paste feature of the script, click on the component, and select OK. Any one else have this issue?

 

Will

0 Likes
Message 5 of 5

Anonymous
Not applicable

Hey, been having issues similar to the poster above. When attempting to paste from one design to another, I get the error "command executed failed: InternalValidationError : rMatrix- >target ObjectPath(objectPath)"

0 Likes