Sketch ImportSVG not working after May 7 update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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