Skip navigationLog in to follow, share, and participate in this community. We are evaluating the benefits and sacrifices of migrating from SolidWorks Desktop to 3DExperience SolidWorks as it pertains to the API. We have a library of VBA Macros and C# (EXE) Standalones that we use to aut... SolidWorks Desktop vs 3DExperience: Macro/Add-In/Standalone
BackHi All, I wish to create a macro to replace a value with a formula and vice versa in the sheetmetal feature-- Bend Radius. I have a macro that will change the K-Factor because we are using a specific value, namely 0.... I wish to create a macro to replace a value with a formula and vice versa
BackHi everybody I'm working on a macro that assigns 3 QR codes to the drawing. Look the attached pictures. At the same time, it assigns a note code to each QR. The problem occurs when I ne... Remove all annotations by macro
BackAfter going through quite a bit of work and with most of the help coming from the community, we were able to scrape together a multistage macro for cleaning up some legacy drawings. Please refer to Drawing Migra... Drw Macro: Set all Cosmetic threads to "Per standard" layer
BackThis code crash systematically SolidWorks: Dim swApp As SldWorks.SldWorks Sub main() Set swApp = Application.SldWorks Dim swRootModel ... How to update mirrored part ?
BackI don't understand the tree of projects and stuff works in the top left of the VBA editor window. It appears that I am accidentally linking my macros in some way... and I don't understand how or why it does this, and... VBA editor fundamental questions swp files and projects
BackHey all, I've been trying to create a macro which will automatically add a Rev Table with a predetermined revision into an already open drawing file. After recording what I'd like accomplished and cleaning up ... The macro is to open all drawings for the active assembly (sub-assemblies and parts) and save them as individual PDFs. However, the macro doesn't work. Here is the code (which needs to run on a SW 2014, 64... Macro Question - Batch Save PDFs
BackHi all, I am working on a macro to inserting multiple parts into an assembly from a single folder location. It assumes the assembly is already open. It loops through fine, however only the first part is coinci... Macro to insert parts to an assembly - help with origin matching?
BackHi, I want the co-ordinates of the center of the text of a display dimension with the API. (Show in the green circle below). Annotaion.GetPosition() works for most cases, however if the DisplayDimension is ver... Get Leader Side of DisplayDimension API
BackHallo! I have e particular question. I didn't find help on the web. I have a part with some configurations (Part_01). Now I insert this part into a new part (Part_02). I need the VBA code to extract the name of active... get config part inserted into a part
BackHi, does enyone know how to get hiden lines in dxf file while export with this macro? In att is macro for #dxf export from face.# face export dxf with hiden lines
BackCan someone tell me why the code to block the rotation of the mate Concentric doesn't work, but for the profile center it works very well. Are there any problems in the api? This code does not work (Mate Conc... Concentric Mate Lock Rotation
BackHi, In this YouTube video, I demonstrate a new feature that is coming to CAD+ toolset Community Edition which allows to generate and insert QR code into the drawing document The following information c... How to insert QR Code to SOLIDWORKS drawings
BackThis is a Vikrant Udawant add-in example which illustrates creation of a macro feature using IFeatureManager::InsertMacroFeature3 API. It shows how to create a multibody macro feature. Key details: The ... C++ Add-in example to Create a Macro Feature
BackI'm trying to put together a macro that will loop through all components in an assembly, including all subassemblies and the top level assembly. I need to edit the equation manager for each one and then rebuild it. I ... Edit equations for all assembly components
BackHere is a stand-alone application to display and edit the custom properties and configuration custom properties of a list of files. As of version 0.25, it can run in 2 modes: Fast and Slow The Fast mode uses ... Batch Custom Properties Program
BackHey Everone, Im looking for a macro to use in task scheduler. 1. open drawing 2. add watermark to specific location (bottom middle) a plus would be if you could change the watermark "name" first time running... Anyone have a macro to link all drawing views back to a BOM that has been replaced on sheet 1. My guys like to swap out BOM, but sometime they don't re-link the BOM after they load a new one. I have some a... Macro To link all views to BOM on Sheet 1
BackHi everyone, I have made a VBA code to create a new part in Solidworks and select the Front Plane for sketching, as below: Dim swApp As SldWorks.SldWorks Dim Part As SldWorks.ModelDoc2 Dim bool... Linking Matlab and SolidWorks
Back