I just wanted to share two articles I wrote on PDM API that I think will benefit a lot of people: Common must-know SOLIDWORKS EPDM add-ins errors for API enthusiasts A study card about variables in PDM API - Blue Byte LLC Thoughts? Let's discuss: Best, Amen www.bluebyte.biz SolidworksApi/macros
Hello. I want to open a model, run a script and it adds several cameras to the model, and then renders from each image to a folder with the name of this model. I learned how to add cameras to the model, but now I need to understand how to render from these cameras. Please tell me.
Title says it all. I am using Inventor terminology when I say 'consumed'. This means that the sketch is not utilized by a feature, and exist as itself in the feature tree. Inventor has an easy way to check, with a Boolean property sketch.Consumed.
Dear All, I would like have a VBA forum to control the Dimension in Part and Assemblies. My Case: 1. My Feature address are already fixed like static. 2.
Hello, can someone point me on the right direction to export some bodies from a multibody part into a new part using api? i want to mimic the behaviour os the existing command "Inser into new part", but need some tweeks as automatic file name, custom properties, etc... thanks in advance, Bruno. SolidworksApi/macros
Hi everyone, I am planning to create a macro code for measuring a surface area of a face. I managed to write the code for choosing a face, but I cant figure out a code for measuring the surface area of that face. Do let me know how I can do this. I have attached the code for choosing a face of the part body as well as the model file.
What I need : What I get : I made a macro that takes a list of dimensions for a belleville washer and makes a drawing of the specified part. An issue that I'm having is that whenever I adjust the dimensions, the callouts of the dimensions become distorted. Is there a way to adjust the callout of the dimensions with a vba macro? SolidworksApi/macros
I can't find anything on how to edit an existing table with VBA. When I try recording a macro it doesn't seem to record any changes made inside a table or editing block attributes. SolidworksApi/macros
Searching on the forum I found this thread: https://forum.solidworks.com/message/321135?commentID=321135#comment-321135 But it seems quite different of what I want, because I have ballons that need to remain with the leader. Obrigado. SolidworksApi/macros
Hi, Library of hundreds of SOLIDWORKS macros, SOLIDWORKS API, and programming tutorials at www.codestack.net is now open-source and hosted on GitHub. If you want to contribute by modifying existing articles and code snippets, submitting new ones, reporting errors and bugs etc. please follow this blog post for more information. Thanks, Artem SolidworksApi/macros
Hi, I have published video which shows how to extend the functionality of SOLIDWORKS by implementing a custom parametric macro feature to create extrude from multiple sketches in a single feature. This feature can be embedded in the model and used on any machine. Macro code and example model are available for download. SolidworksApi/macros
Hi every one . I have install the SOLIDWORKS API SDK.msi (swvbaddin template) but i can't see it on Visual Studio 2019 template list.Can any one tell me how can i fix the problem .Thank you for your time Kostas . I use SW2018 SolidworksApi/macros
How to get animation values like input, output, interpolation etc using Solidworks API? Is there a way to get these values by Motion Studies API? SolidworksApi/macros
Hi, I have a flat-pattern feature selected in the flat-pattern folder of a sheetmetal part. Now I would like to select the cut-list body folder of that feature to get the custom properties out later. Any ideas are welcome thanks! SolidworksApi/macros
Hey guys, I currently have a BoM Export script that prints the part name as a hyperlink to the part. It's currently opening the parts as Read-Only when opened through the hyperlink in the Excel spreadsheet. Is there a way to enable Excel to open the part as if opened from explorer (i.e Read/Write). Thanks, Kelvin SolidworksApi/macros
Hi All, I have an existing assembly where fasteners are used from Solidworks Toolbox. I want to convert all these tool box components into standard Solidworks part. Is there any macro to do that? SolidworksApi/macros
Hi, I have published a short video tutorial of how to get started with developing add-ins using .NET Core in Visual Studio Code: Getting started with SOLIDWORKS add-ins in .NET Core - YouTube Reference to the documentation: Registering SOLIDWORKS add-in using xCAD Thanks, Artem SolidworksApi/macros
I want to enable the XR exporter plugin using API. Is there any API provided to load the plugins or specifically exporter plugin? Any suggestions will be really helpful. SolidworksApi/macros
Hi, I'm trying to hide from my drawing, all the external countersunk circle. (only external coutersunk -view this picture it' the red circle to hide) Only in the first sheet and the first view. 1-) Do you know if it's possible? 2-) If possible, what functions of the API should I use? Thanks, Sébastien SolidworksApi/macros