Search results from your query.
SOLIDWORKS User Forum
4 months ago
SOLIDWORKS User Forum
2 months ago
Failed to run SOLIDWORKS macro.’ The SOLIDWORKS® PDM ‘Convert’ task depends on the SOLIDWORKS CAD software ... When the task runs, it evaluates the task script and generates a SOLIDWORKS macro
SOLIDWORKS Tech Blog
2 years ago
I am running a macro which opens an .stl file and runs something and closes it ... I need to run this on about 24000 files, but when I run the macro after processing about 1300+ files, solidworks crashes ... SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Hello everyone, Attached is a macro loader that displays all the macros in a folder that you select, then allows you to select and run said macro ... SolidworksApi macros
SOLIDWORKS User Forum
6 years ago
Hi, In this blog post: Automatically Run Macro On Model Open I explain two ways and provide source code to automatically run VBA code when model is opened Using Events Using Macro Feature In both cases it is not requried to create add-in or install any additional software ... Thanks, Artem SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Hi, I need to create a Macro to Turn on the views, Part list in the drawing based on the cell value in excel and then edit custom properties as given in the excel cell ... Also I want to open solidworks and drawing and then trigger this macro from the Excel VBA only ... SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
how can i solve this error macro is attached ... SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Hi, There is possible to autostart a macro when I opening a specifiedpart or assembly ... Can I build (or something other way) the macro into the part ... The macro has a form, and I'd like the user could change the partbut with the form elements ... If the user opens a part and if he have to run the macro manually,he could make changes in the part before he run the macro
SOLIDWORKS User Forum
14 years ago
Hi, I created a macro that added tolerance to a dimension selected by user ... The workflow is as follow: 1) Select a dimension 2) Run the macro The macro work fine from the command button and even mouse gesture ... modifier (eg: [ALT] + [T]), the macro could not work ... Any idea why the macro could not be assign to the keyboard shortcut with
SOLIDWORKS User Forum
4 years ago
Hi 1- I needed to create a macro where it is possible to rename the active configuration with the same file name, how can I do this ... 2 - Possible when saving a document to run the macro together
SOLIDWORKS User Forum
3 years ago
Hi, I have a macro that rebuilds drawings by zooming and setting things on or off ... Now when I run this macro it returns that the drawing will be saved in draft quality. if I step though the macro it works fine ... Thanks 😎 I've attached the macro so that you can see
SOLIDWORKS User Forum
2 years ago
I'm running Solidworks 2013 and trying to execute simple macros in #TASK ... The save to PDF macro from their online library is just an example of something that should work but I get this error. (see attached ... This indicates that #TASK failed to run a macro ... Please make sure that you can run macros in SolidWorks" I can export PDFs in SW manually and record/run macros
SOLIDWORKS User Forum
4 years ago
I just upgraded to SP3.0 and when I run a macro that creates a part the dialog box prompting for a location to save the part in comes up under SW so you think SW has locked up as it no longer responds to input with that dialog box up ... I'm not sure if I have ran a macro since installing Windoz7 or not so I can't say which it is
SOLIDWORKS User Forum
13 years ago
Hello, This video demonstrates how to embed and run any macro automatically on rebuild by utilising the macro feature: Automatically Run Macro On Rebuild - YouTube There are 2 examples demonstrated in the video: Build Number Note which is incremented on any rebuild General table linked to external Excel and CSV file and updated automatically Follow the links in the description of the video for more information ... Thanks, Artem SolidworksApi/macros
SOLIDWORKS User Forum
5 years ago
I've used the code from the below link to run a macro automatically when the model is opened ... Run VBA macro on model load using macro feature and SOLIDWORKS API The issue i'm having is that its opening the userform before the model has fully loaded so i'm getting the 'no model open' response ... Sub Main(model As SldWorks.ModelDoc2) ConfiguratorMain MsgBox model.GetTitle() End Sub‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍ Sub ConfiguratorMain() Set swApp = Application.SldWorks Set swModel = swApp.ActiveDoc If swModel Is
SOLIDWORKS User Forum
4 years ago
I wrote this macro to spite a coworker who complained that whenever he opened my part files he had to zoom out, as I had saved it while looking at the feature I was last working on ... Switches back to the original model view The idea behind this macro is that the user can always save their part/assembly in an isometric view without interrupting their workflow ... What I like about this macro is that it adds no perceptible time to the part saving process, the transitions are so fast they can't be noticed
SOLIDWORKS User Forum
5 years ago
I have a macro right now that hides all sketches and reference geometry with the option to run through all configurations which is selected through a popup window ... I got this macro on here somewhere a while back and had help adjusting it before to add the ... Right now I need to run this on a batch of parts and assemblies which I am using #TASK to accomplish ... Problem is I do not want to have the window pop up for every part and just run automatically with all options selected and through all
SOLIDWORKS User Forum
4 years ago
I want a macro that when I run a macro on Drawing then it pops up with 3 options(A, B & C) that will ask which image you want to insert ... SolidworksApi/macros
SOLIDWORKS User Forum
4 years ago
Then open SOLIDWOKRS and run the macro via ‘Tools’ > ‘Macro’ > ‘Run ... 4.Make sure you can run the macro manually in SOLIDWORKS
SOLIDWORKS Tech Blog
5 years ago
This will probably be the last macro for a good while, as i'm quitting my job and will not be using solidworks no moe ... at least not in SW2014) Heres a macro that does the same thing, except for the 50% part ... 1.Select a line in a view and run macro(line must be straight and able to be convert to entity) 2.press buttons to align selected line horizontal or vertical, if you press same button twice it will rotate view another 180º 3.select new line to align or exit form NB ... this macro does not have an
SOLIDWORKS User Forum
9 years ago