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: 

Sketch ImportSVG not working after May 7 update

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
594 Views, 3 Replies

Sketch ImportSVG not working after May 7 update

I used to use the following code to import SVG files but since the May 7 update its not working properly. Im assuming this is due to the update and how SVG files can now be easily rotated and moved. Is there a new way to import SVG files with the API? I've been trying to reference the API documentation but everytime I click on the 'Fusion 360 API Reference Link' it just expands and imediately collapses. Here's the python code that used to work

 

rootComp = design.rootComponent

sketches = rootComp.sketches

sketch = sketches.add(rootComp.xYConstructionPlane)

ret = sketch.importSVG(WorkingDir + '\\' + file, 0, 0, 1)

 

I added the ret variable to see if it returned an error but the value was true. Any help on how to achieve this after the update or even how to view the documentation would be greatly appreciated. 

 

Running:
Windows 10 Pro

tried with 

Chrome 50.0.2661.102 m

Internet Explorer 11.3

3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Found an alternative location to view the API Reference Documentation

 

http://help.autodesk.com/view/NINVFUS/ENU/?guid=GUID-3922697A-7BF1-4799-9A5B-C8539DF57051

 

The old one I couldnt view because it would expand then immediately collapse

http://fusion360.autodesk.com/learning/learning.html?guid=GUID-A92A4B10-3781-4925-94C6-47DA85A4F65A

Message 3 of 4
marshaltu
in reply to: Anonymous

Hello,

 

Thank you for reporting the issue to us. It looked a regression caused by SVG import enhancements. We will investigate/fix the issue in next Fusion 360 updates.

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 4 of 4
MattWynn
in reply to: Anonymous

I had the same issue with expand/collapse, very frustrating.  Thanks for the good link.


Matt Wynn
Senior Manager, Software Development, Fusion Fabrication

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

Post to forums  

Autodesk Design & Make Report