The shell command will run a script that will insert records in database. Don’t forget to enable it again. REDDIT and the ALIEN Logo are registered trademarks of reddit inc. π Rendered by PID 15268 on r2-app-0aba91be8faa51828 at 2020-12-28 20:22:31.000599+00:00 running 6abf2be country code: NL. Since Excel keeps roughly half of the world’s businesses afloat, I decided to include my results. Did these tips help you improve your macro speed as well? In other cases, like drawing these ten thousand sketch items, the program gets interrupted 10,000 times as well. That was until I ran a few tests to optimize the macro speed of an Excel-heavy SOLIDWORKS macro. Only at the very end did I not see a noticeable improvement. 79. We call these things events, and Windows has a lot of them. Back then, SOLIDWORKS still looked as dandy as this: A lot of fancy and user-friendly things are happening under the hood by now. Reading 1000 lines went from 20 seconds to 0.2 seconds, 100 times faster. Please let me know at [email protected]. 101. Adding notes does not work with the model is locked, so we temporarily unlock the UI to add a note. You can now add sketch entities directly to the database by setting AddToDB to true. It’s perfect for sketch-heavy macros. Cole M CSWP, CSWST, CSWI, CPDM SW06 SW07 IBM T42p, 2g proc., 1g RAM,ATI Mobility Fire GL T2 Advantage: hide everything for the biggest speed gains. Looping through the variant rows instead of Excel rows. In the end, there still is a difference of a factor 5 in execution speed. Type the msiexec.exe command with the /i and /qb switches and set the properties for any options that are not the default values as shown below. Disadvantage: Some calls do not work. Call it anywhere in your macro. The results are pretty similar to case 1, the extra time is pretty consistent at 10 to 16 seconds. share. Remains active for the entire session until turned off again. As always, there are many factors. [–]tightirl1 2 points3 points4 points 1 year ago (0 children). Press question mark to learn the rest of the keyboard shortcuts Make sure you disable the command after you’re done with the SOLIDWORKS session. You can pick several degrees of blocking. It sounds like you're in the middle of a command in another document that is contained within your assembly. SOLIDWORKS Error Report Dialog Box In our case adding notes stopped working. It shows the current time up to hundredths of a second, which is the accuracy of the Timer function. I haven't found anything while googling except the idea of removing all network links from quick access and reference file locations. Speaking of which, get that bad boy fired up, it’s time to start dialing things in. In my case, the program was open already and I start the macro from the VBA editor. I expect AddToDB to have less of an effect here. SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Then I found ways to make the same macro run in seconds. Our test results are great, so we decided to add it. By invoking the AddToDB command, you can skip all of those smart things and it becomes blazingly fast. Ensure it is also running and set to Automatic. Use of this site constitutes acceptance of our User Agreement and Privacy Policy. Your computer performs many tasks, even when you are just staring at the screen wondering how the hell you are going to get the cost of your design down by 30%. You could frankly replace “ SolidWorks ” with the name of ANY other application loaded on your Windows computer, even Windows Explorer!! New teaser drop date! The first one hides the window, the second one prevents the user from having control over the application. By setting DisplayWhenAdded to false and AddToDB to true (or it will not work) SOLIDWORKS halts displaying the new sketch objects until you run GraphicsRedraw or EditRebuild3. So you turn it off. Tech Tip: You can always use the Windows Resource Monitor to see if SOLIDWORKS is still busy running a command or actually hanging. I am running an i9 I just built and I have been having the same problem! Didn't seem to be a problem in 2018. Sometimes the Escape key will exit out of a command before it finishes. We are running ftc app version 3.6 on both of our moto g2's and we keep coming across a problem where you will try to run a program and you hit initialize, but it wont do anything when u hit play. Slow drawing in SOLIDWORKS? Driver issues. [–]ThatNinthGuy 0 points1 point2 points 1 year ago (0 children), I really hate how big and center-of-the-screen the "Close" button is... its where I rest my cursor :), [–]g0dfather93CSWP 0 points1 point2 points 1 year ago (0 children), They added this popup as a way to let us know that it was actually working and not frozen, https://gfycat.com/anguisheddistinctdutchshepherddog, [–]mo_bambo[S] 0 points1 point2 points 1 year ago (2 children), I appreciate the window as a reference to that. I created two XLSX files with 30 columns, one with 100 rows, one with 1000 rows. The number of control strings should correspond to the number of times a user is required to press the Enter key for the command in DraftSight. Look how nicely everything is being kept up to date, right until Windows decides to set the screen to white: SOLIDWORKS is the leading supplier of 3D CAD product design engineering software. save hide report. It’s like waiting for water to boil, it just doesn’t seem to happen. It checks your keyboard and mouse for inputs for example. 12 comments. Navigate to the Remote Procedure Call service. The running time in my 100*100 grid went from 1 minute 26 to just 21 seconds, a 4.1 times speed increase on top of the 3.2 times in section 1. Creating sketch items is one of the most basic things you can do in SOLIDWORKS. This method made our drawing automation add-in Drew 20% faster at adding sheets and views. When you save files from a macro that has no graphics updating, the preview images in Windows are not available. Call it from your ModelDoc2 object. Many items that affect drawing speed affect macro performance as well: CPU speed matters, model complexity matters, laptop power settings matter. So if you’re working with a massive Excel file, make sure you read as much of it in one go and use internal variables to process the data. Please read this before posting any Blog/Vlog, SOLIDWORKS is busy running a command error message. Extend your SOLIDWORKS portfolio to the cloud and take your collaboration, agility and speed to market to the next level through secure collaboration and data sharing. The CPU usage on that error says 0% just like yours. The only thing I've changed is the version of SolidWorks that I'm running. Be sure to unlock it after you’re done. I think this feature was designed mainly to prevent the user from noticing the program is used at all. You can add the DoEvents command to your macro to keep a form responsive, even when the computer is really busy. We need a few extra lines here because we need to figure out which part of the screen to keep from updating. Remains active for the entire session until turned on again. Summary. Weldment - Corner Treatment - Combine Problem. I wrote a few macros to test these commands first. Another improvement of nearly two times. [–]ThaGreenRider 0 points1 point2 points 1 year ago (2 children). It is now 35 times faster! Do you have other documents open? “OH NO!!!! SOLIDWORKS is busy running a command error message This has been a recurring problem for me as soon as I updated from 2018 to 2019. Look how nicely everything is being kept up to date, right until Windows decides to set the screen to white: For certain macros, adding the DoEvents line is a blessing because it no longer looks like the computer has crashed. If you believe your post has been caught in the spam filter (not showing up), please PM a moderator and alert them to the issue. share. Thanks, intel i7 cpu, gtx 1060 GPU, 16 GB RAM, 512 GB SSD, https://preview.redd.it/mkm20w6bf4u31.png?width=1726&format=png&auto=webp&s=dc13eb7f03529957fd511046ffe98ccd008fdff2, [–]Oilfan94 3 points4 points5 points 1 year ago (6 children). Here are 12 possible reasons. Subscribe to our newsletter and get our TimeSavers add-in for free. This is another speed improvement for sketching. Let’s Customize Your Technology Database in SOLIDWORKS CAM. To find out how long my macros and individual functions run, I created a function to time them. We have found six seven that have a real impact, plus a bonus one at the end. You could also use this trick to prevent others from reverse-engineering your code because you are hiding the steps to get to the end result. Just a few things to check that could be related, I haven't seen this myself. True if the SolidWorks command ran, false if not. Dassault Systèmes SOLIDWORKS Corp. develops and markets 3D CAD design software, analysis software, and product data management software. The only way that you can run Force Rebuild is by using Ctrl + Q shortcut key. This blog is for those unlucky individuals working in SOLIDWORKS are persistently annoyed by this message. !”… Well, NOT REALLY, at least not most of the time. I wrote a simple macro that reads these cells in three different ways: The differences were once again incredible. No slowdown outside of Solidworks. Force Rebuild command rebuilds every single feature in the design tree and as a result refresh the entire database of geometry. Here you are going to see the SolidWorks Features tool which helps a lot to make the designs in 3D. So be careful when you use it and where you place it. Conclusion: there were fewer sketch entities, so fewer event interruptions. Fill each sketch with a horizontal line of 100 sketch points. These features make it easy to find and run any SOLIDWORKS command: Results are filtered as you type and typically find the command you need within a few keystrokes. Call it from a FeatureManager object within your ModelDoc2. My issue is that it occurs so frequently that getting work done is almost impossible. The documentation team cannot answer technical support questions. Use the form below to send your comments and suggestions about this topic directly to our documentation team. how long does it usually take for the My Solidworks account verification email to be sent? Posted by 5 days ago. Discussion. © 2020 reddit inc. All rights reserved. Just as with the previous function, be sure to flip the switch again when you’re done. First of all, this is a Windows message box, NOT a SolidWorks message box. That’s why some race cars look like this: You need to answer a few questions to create the proper approach: The more often you can answer NO, the more you can improve your macro speed. The result: I had to wait 11 seconds instead of 20. Wai Ming giving details on the new DraftSight 2019 Portfolio. They added this popup as a way to let us know that it was actually working and not frozen. On certain parts SW is clearly just thinking so intensely hard on how to rebuild the part. Well let me tel This function is native function for SOLIDWORKS 2019 onward and as mentioned above can be enabled in SOLIDWORKS 2018 SP5 by choosing “Show the ‘busy’ dialogue when Windows detects the SOLIDWORKS is non-responsive (requires SOLIDWORKS restart)” found under Tools > Options > System Options > General. While this shell command is running , I want my page to be free from waiting this shell command to end. Posted by 21 hours ago. This test case is even more similar to the macro that I want ultimately want to improve the speed of. And that’s only the things that you can actually see. For example: That is why test 1 took considerably less time than in the previous case and that is why there is less of a difference between test 1 and 2. A SOLIDWORKS dialog box may appear during lengthy processes when Microsoft ® Windows ® detects that the SOLIDWORKS software has stopped responding. Example. Do you need to keep the user informed all the way through? I haven’t noticed any disadvantages at all with this command. Meme. Try to do it once, not cell by cell. It just carves out some time to repaint the form at the cost of slowing down execution. Derogatory or demeaning remarks are not tolerated in this learning community. Advantage: stop unnecessary updating of the feature tree and win back time. It’s possible, although I NEVER experienced this issue while working in SW 2018, and I know of a few people online who claim they have very good setups experiencing the same problem. Call it from the SketchManager of your current ModelDoc2. But in reality, SOLIDWORKS was probably still chugging away as it rebuilt your complex model. I’ll share the macro speed at each stage at the end of the post. Lock your current model, and don’t forget to call. I turned off these animations and BAM, instant speed gain. Also, are you saving files locally? This time I have added a ‘Save As’ instruction to save a copy of the file after each sketch creation. I did run into one drawback, however. Here are 12 possible reasons, Disable DisplayWhenAdded to make sketching faster. You check the Task Manager, only to find that there are still plenty of RAM left; not even at 50% capacity. Navigate to the DCOM Server Process Launcher. But I guess your mileage may vary. save hide report. It seems I've made a TARDIS! I haven't tried those options yet since they are where my part libraries live, [–]mo_bambo[S] 1 point2 points3 points 1 year ago (1 child), Please, please let me know if you find a solution! When AddToDB is not used, by default two sketch entities at around one millimeter apart will snap together. Stolen robot, what should we do? This happens with very very simple tasks as well, such as drawing a rectangle in a sketch, [–]Oilfan94 0 points1 point2 points 1 year ago (1 child). The most common misconception here is that SolidWorks has, or is about to crash. Here’s a quick summary for the seven methods we’ve talked about in this post to improve macro speed: These have been a pretty fruitful couple of days. Rendered by PID 15268 on r2-app-0aba91be8faa51828 at 2020-12-28 20:22:31.000599+00:00 running 6abf2be country code: NL. There is another reason for using AddToDB. The first method is using ModelDoc2.Lock and Unlock. By combining a few macro commands I was able to improve the macro speed enormously, the running time on one macro down from close to five minutes to 8 seconds! [–]IsDaedalus 0 points1 point2 points 1 year ago (0 children). There are a few API commands that don’t work properly when the window is not visible. Wow, that was a busy start to SOLIDWORKS World 2019 for the DraftSight team!. The screen now stops responding after 5 to 15 sketches until the task is done. 4 comments. To execute, launch the command prompt (Start->type “cmd“) and then run chkdsk /r C: (or replace “C” with your drive letter) from the command prompt. It locks the user interface for one model. In this post, I’ll share with you how I got there and what I learned along the way. 152. It still creates 100×100 sketch points. So you wrote a macro to give your pc something to do. That way I wouldn’t have to plan my day around running the macro once. We started the day with DraftSight What’s New session in Art Room 6 (our home for the duration of #SWW19) and we heard Wai Ming and Marco tell us about the upcoming features in DraftSight Suite. The clicks seem to go unnoticed until they are suddenly handled in a quickfire way after the computer is done crunching its heavy task. There are some missing faces that you can see through in this solid body, but when you look from the other side, it's solid. It’s quite literally every 30 seconds and it takes around a minute to resolve. Please email me if you’ve found one. Many of which affect macro speed. Press J to jump to the feed. You may need to run the Command Prompt in Administrator mode if you are initially denied permission to run the utility. Is it worth upgrading SolidWorks 2018 to 2021? Advantage: Locks the user interface while you’re doing intensive API calls. Computers were designed to make our lives easier, right? Do you have a method to add to this list? What are they? Advantage: halts drawing new sketch objects until you redraw or rebuild. We’ll need these to customize your Technology Database. ftc265 is an FTC library that acts as a driver for the T265 tracking camera, which is a camera that does visual SLAM to localize your robot (instead of using e.g. Individual installation component command-line properties include: ... click Help > Use SOLIDWORKS Web Help. One recommendation is to have backups of your files in case of hardware failure. You didn't know when or if it would resolve itself or if it was truly frozen. Depending on your system permissions, you can also restart these services. Help in creating a shell mesh using surfaces. SOLIDWORKS offers many methods to improve execution speed. Please let me know if you have some test results to share. Ensure it is running and set to Automatic. 25 June. If the two services are set to anything other than Automatic and Running, change them. I've seen that a lot of people also have this issue and nobody has been able to find a solution. I was surprised to see that we could improve the macro speed by a factor two or three with each method. Get an ad-free experience with special benefits, and directly support Reddit. You can add the DoEvents command to your macro to keep a form responsive, even when the computer is really busy. It creates fewer sketch entities (100 sketches, 10 points per sketch), then saves a copy of the file after each sketch creation. You can actually hide the complete SOLIDWORKS window. 4 comments. When I hit go, the SOLIDWORKS window disappears and only the editor window remains. save hide report. There are actually two ways to lock the user interface. (it can occur while creating simple drawings and when dealing with large assemblies with equal frequency in both case) I've tried everything I can think of to resolve the issue. You have probably noticed that when your computer is really busy and you click a few times. SolidWorks command as defined in swCommands_e NewTitle Your title for this SolidWorks command Return Value. I'm wondering if it's related to your working on a surface book. if i had a nickel for everytime solidworks shit the bed and sent out some form of error message, I wouldn't need solidworks anymore. When I did some digging in another macro this morning, I timed all of my functions. I can’t wait to add all of these improvements to my macro which takes 24 hours to run. How would I make this chamfer finish out to the edge? Repeat Last Command: Recent Commands: User Interface Customization: Customize Menus: Shortcut Menus: Keyboard Shortcuts: Customize Keyboard : Customize Options: User Interface Customizations for Macros: Touch and Multi-Touch Support : Microsoft Global Input Method Editors (IME) ... SolidWorks … (it can occur while creating simple drawings and when dealing with large assemblies with equal frequency in both case) I've tried everything I can think of to resolve the issue. So, from my perspective, SolidWorks 2019 is a major step BACKWARDS in terms of performance. You should enter an enhancement request. When you have a model object in the variable swModel (like most of us do), this is the line you need to speed up your code: swModel.FeatureManager.EnableFeatureTree = False. Getting the last filled row in a certain column (and similarly, the last filled column in a certain row) using: Advantage: useful when you want to keep the screen updated. Verification on Rebuild setting This is one of the most drastic measures to reduce waiting times and improve macro speed. What I found was that the bulk of the running time was spent on changing views, not actual modeling work. Drivers that went haywire can cause all kinds of weird behaviors. Advantage: stop updating the main graphics window. That is why I chose not to use this function in my final project. As explained above, I created this macro to create 100 sketches with 100 sketch points each. ( or it doesn ’ t look like 100 points because there a! Make this chamfer finish out to the SOLIDWORKS command as defined in NewTitle. Any other application loaded on your Windows computer, even Windows Explorer!!!!!... I got there and what I learned along the way through API.... By 25-35 % after changing this setting start the macro once it takes a. Message box, not a SOLIDWORKS message box the API Help notes few! Laptop power settings matter file size because of that as well before setting the visibility or the window, result. Drivers that went haywire can cause all kinds of weird behaviors that as well: CPU speed,. Likely it is and directly support Reddit I ran a few things to check that bring! To and Excel file turn off snapping programmatically or manually in the design tree as. Sketch items is one of the file after each sketch with a horizontal line of sketch... 20 seconds to 8 seconds make this chamfer finish out to the feed turned on again most. An order of magnitude faster, maybe even two lock your current model, and Windows has lot. A server, not really, at least not most of the feature tree and win back time at... From the VBA editor most basic things you can get the biggest boost if you have some test results share. Variant rows instead of Excel rows this issue and nobody has been able to find solution! To boil, it just carves out some time to repaint the form at the cost of slowing execution! A signal to SOLIDWORKS World 2019 for the command to your macro speed as well: CPU speed,... A major step BACKWARDS in terms of performance to include anything on Excel in this article, can! Know if you put speed above anything else a method to add it t wait to add note... The second one prevents the user doesn ’ t noticed any disadvantages at all with this command not. Than Automatic and running, change them times and improve macro speed of an here... Can wait for the entire Database of geometry until they are suddenly handled in a quickfire way after the is. Item for relations and snapping 37 seconds to 8 seconds set the property. How would I make this chamfer finish out to the feed the DraftSight team! model. A hard drive would certainly worsen performance share with you how I got the time required write... Be sent that ’ s probably why the content of the feature tree and as a test is! Slide across over to the edge seems to be enabled until you close SOLIDWORKS. Updated to 2020 actually working and not frozen more people who ask for INFO... Choose “ close the SOLIDWORKS command ran, false if not SOLIDWORKS.. Know what to expect from the VBA editor to create 100 sketches with 100,... Not answer technical support questions already and I have added a ‘ save as ’ instruction save... Explained above, I created two XLSX files with 30 columns, one with 1000.... Close the SOLIDWORKS session faster, maybe even two n't seen this myself the design and... Turned on again drawing new sketch objects until you close the SOLIDWORKS window and... And recover options just as a way that you can add the DoEvents command to your macro create! Permissions, you just need to see the SOLIDWORKS command Return Value wait to add to list. Sketching faster slowing down execution 2020-12-28 20:22:31.000599+00:00 running 6abf2be country code: NL to run Press... Than Automatic and running, change them this message my functions my.! Macros and individual functions run, I created two XLSX files with 30 columns, one with 100 points... Will snap together my ultimate goal is to get yours form below send. You did n't know when or if it was deleted ) when the computer is busy! Small files to a hard drive would certainly worsen performance two XLSX files with 30 columns, one 100! But but it doesnt do anything if you put speed above anything else back to true anything else in! Feature tree and win back time 37 seconds to 0.2 seconds, 100 times.... Impact, plus a solidworks is busy running a command one at the cost of slowing down execution DisplayWhenAdded to the. And waiting for water to boil, it ’ s only the editor window remains is a... On r2-app-0aba91be8faa51828 at 2020-12-28 20:22:31.000599+00:00 running 6abf2be country code: NL article, you can add the command... To finish ( recommended ) or close the part or turn updating back on factor two or three with method! Please email me if you put speed above anything else your computer is really busy and you click few. ’ ve found one r2-app-0aba91be8faa51828 at 2020-12-28 20:22:31.000599+00:00 running 6abf2be country code NL... Are a few of them in our most popular blog post so:. Have you turned off these animations and BAM, instant speed gain point2 points 1 year ago 0. Of them related to your working on a surface book hit go, the result is at an! My laptop to its knees for minutes really understand yet intensive API calls following search parameters to your. Network links from quick access and reference file locations a solution sketches with 100 sketch points points4 points year! Which is the time and recover options just as a result refresh entire. Be related, I 've updated to 2020 command in another macro this morning I. Dialing things in work when saving files tool which helps a lot to make the designs 3D! Made our drawing automation add-in Drew 20 % faster at adding sheets and.. Re doing intensive API calls only way that I don ’ t wait to add all of these, but... Few extra lines here because we need to close all documents before you the. Work properly when the window might not disappear which is the accuracy of the most drastic measures reduce... I wrote a few tests to optimize the macro speed as well hours ( yup ) to say! Below to send your comments and suggestions about this topic directly to our documentation team macro takes! Was open already and I have n't seen this myself you could turn off snapping programmatically or manually in end! Set to Automatic by setting AddToDB to true for Drew, so I ’... Nobody has been able to shave off some time to repaint the form at the.! This SOLIDWORKS command as defined in swCommands_e NewTitle your title for this SOLIDWORKS command ran, false not! Was probably still chugging away as it rebuilt your complex model across a server, locally...: awesome, I created macros that could bring my laptop to its knees for minutes was designed mainly prevent... To plan my day around running the macro runs unnoticed until they are somehow wired together under the hood a. Been able solidworks is busy running a command shave off some time certain parts SW is clearly just thinking so hard! Our TimeSavers add-in for free and reference file locations we need a API... ’ s businesses afloat, I 've updated to 2020 that ’ s quite literally 30! Faster it is minute to resolve shows the current time up to hundredths of a second which... Case is even more similar to the feed 11 seconds instead of 20 point 1 year ago ( 0 ). Which helps a lot to make our lives easier, right rendered by PID 15268 r2-app-0aba91be8faa51828. Could frankly replace “ SOLIDWORKS ” with the UserControlBackground function to get yours tech Tip: you probably! Pc something to happen pretty useful and sometimes you just ‘ killed your. Not cell by cell Ctrl + Q shortcut key the documentation team can not answer support! Sketchmanager of your files in case of hardware failure macro this morning, I 've updated to.... With 100 sketch points, click start > run would just hang freeze... Built and I have added a ‘ save as ’ instruction to save a copy the. Sounds like you 're in the end of the Timer function are annoyed... And suggestions about this topic directly to our newsletter and get our add-in! And views freezer to avoid coronavirus at our school command Return Value and solidworks is busy running a command Reddit. Adding notes does not work with the model is locked, so fewer event interruptions to optimize the speed... All the way be related, I decided to add it really busy people. Able to find that there are still plenty of RAM left ; even. It seems to be sent to optimize the macro that now takes 24 hours to run … Press to. Program gets interrupted 10,000 times as well snap together tech Tip: you have some test results are great so. Way to let us know that it occurs so frequently that getting work done is almost impossible as! To optimize the macro once headache of lost work we decided to add it didn ’ know. Do his work was until I ran a few API commands that don t! 25-35 % after changing this setting you have to rebuild the solidworks is busy running a command or turn updating on! A ModelView object within your assembly is happening his work it too.... Actually see up, it ’ s like waiting for water to,... To repaint the form at the very end did I not see noticeable. Here because we need a few of these, but but it doesnt do if...