<p>Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.</p></p><strong>First time visiting? Here are some places to start:</strong></p><ol style="list-style:inherit;margin-left:25px;"><li>Looking for a certain topic? Check out the <a href="https://forum.onshape.com/categories">categories filter</a> or use Search (upper right).</li><li>Need support? <a href="https://forum.onshape.com/post/question/community-support">Ask a question</a> to our <a href="https://forum.onshape.com/categories/community-support">Community Support</a> category.</li><li>Please submit support tickets for bugs but you can request improvements in the <a href="https://forum.onshape.com/categories/product-feedback">Product Feedback category</a>.</li><li>Be respectful, on topic and if you see a problem, Flag it.</li></ol><p>If you would like to contact our Community Manager personally, feel free to <a href="https://forum.onshape.com/profile/6/LouGallo">send a private message</a> or <a href="mailto:lgallo@onshape.com">an email</a>.
</p>
</p>
How to automatically export view images?
sydney_li
Member Posts: 2 ✭
I want to automatically export images(screenshots) with png or other similar formats of a collection of parts. Ideally, images of a part can be taken from different angles. Is it possible to do this with FeatureScript?
0
Answers
-
This is not currently possible with FeatureScript, but the API does provide tools to do this.
You will probably want to look at shaded views API endpoints:
Assemblies: https://cad.onshape.com/glassworks/explorer/#/Assembly/getAssemblyShadedViews
Parts: https://cad.onshape.com/glassworks/explorer/#/Part/getPartShadedViews
Part Studios: https://cad.onshape.com/glassworks/explorer/#/PartStudio/getPartStudioShadedViews
Onshape API documentation: https://onshape-public.github.io/docs/Get in touch: contact@alnis.dev | My personal site: https://alnis.dev
@alnis is my personal account. @alnis_ptc is my official PTC account.0
