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: 

Python API to Inserting SVG file into new design

1 REPLY 1
Reply
Message 1 of 2
balunist
506 Views, 1 Reply

Python API to Inserting SVG file into new design

my goal

 

pre-condition: Start with an existing design named mydesign open 

result: a new design is created named mydesign_svg, an existing svg file is inserted into a sketch, and the focus is on this design

 

There are a number of examples showing the creation of a design and sketching, circles, etc. but I am not able to determine how to invoke the "insert->svg" equivalent.

 

Thanks in advance!

Bill

1 REPLY 1
Message 2 of 2
balunist
in reply to: balunist

OK, I got this.  Newbee mistake relying on Spyder help.  Discovered the object model.  🙂 .    I did notice the default insert results with the inserted svg being flipped vertically vs the user interface insert which did not.   Also the object model does not show the option to flip horizontally or vertically.   Ideas?   Thanks!

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report