Search found 632 matches
- Fri May 17, 2024 12:01 pm
- Forum: SolidWorks PDM
- Topic: Start web application with button.
- Replies: 7
- Views: 1874
Re: Start web application with button.
I've never figured out what the last %% option does. It's not documented. Anyone figure it out? I believe it adds an actual % character. Since '%' is used to identity the dynamic triggers (%!1 %2, etc), you need to 'escape' the % with another % if you want the % character in the actual command stri...
- Thu May 16, 2024 2:08 pm
- Forum: SolidWorks PDM
- Topic: Start web application with button.
- Replies: 7
- Views: 1874
Re: Start web application with button.
If the built-in values available when connecting the button to a command string aren't what you need, you need to create a custom add-in and have the button run the add-in. Launching a browser with whatever URL info you want is trivial from within an add-in.
- Thu May 16, 2024 1:01 pm
- Forum: SW General
- Topic: Tab-To-(only temporarily)-Hide
- Replies: 24
- Views: 3664
Re: Tab-To-(only temporarily)-Hide
-I don't want to have to remember which or how many or where things were hidden. I just want to instantly revert to the display before I started hiding things. But what is the definition of 'before I started'? Since it isn't a group operation, SW has no idea that two hide operations are related. Th...
- Wed May 15, 2024 2:25 pm
- Forum: SW General
- Topic: Programming in SolidWorks, how important is it?
- Replies: 18
- Views: 2978
Re: Programming in SolidWorks, how important is it?
Any specific reason you're calling VBA a "dead end"? It's easier to learn, easier to understand, easier to debug, has more tutorial/sample code available, more concise, easier to share, easier to deploy..... Easier to learn? Not really. Especially in a macro context where the underlying p...
- Tue May 14, 2024 11:25 am
- Forum: SW General
- Topic: Programming in SolidWorks, how important is it?
- Replies: 18
- Views: 2978
Re: Programming in SolidWorks, how important is it?
Using the API is more of a 'want' than a 'need'. Open source software guru Eric Raymond once said this: "Every good work of software starts by scratching a developer's personal itch." If you want to be a programmer, you have to have a problem (itch) that you want to solve (scratch). For me...
- Mon May 13, 2024 3:19 pm
- Forum: How To Questions
- Topic: Close document without unloading it from memory?
- Replies: 4
- Views: 1049
Re: Close document without unloading it from memory?
That is what I do right now (or just close and reopen the document, which is the same), but for example if my active document is a large assembly containing part C, then it can take a very long time to reload everything, rather than just load back into memory these few documents that were closed. B...
- Mon May 13, 2024 11:05 am
- Forum: How To Questions
- Topic: Close document without unloading it from memory?
- Replies: 4
- Views: 1049
Re: Close document without unloading it from memory?
After modifying part A and returning to part C, File....Reload will update C with the changes in A. Before using reload though, make sure you save C so that any changes made in C aren't lost.
- Wed May 08, 2024 7:22 am
- Forum: CAD Admin (Install, PDM, etc)
- Topic: PDM, tool to copy the archives of a file and its reference tree
- Replies: 5
- Views: 1775
Re: PDM, tool to copy the archives of a file and its reference tree
From the Knowledge Base : =============================== For older versions, or if you need to collect archives for referenced files as well , you can use the attached tool to copy individual file vault archives for selected files in a vault. With a copy of the vault database and the copied archive...
- Thu May 02, 2024 5:23 pm
- Forum: SolidWorks PDM
- Topic: Document Expiration Date - Is it possible?
- Replies: 10
- Views: 2102
Re: Document Expiration Date - Is it possible?
One of the needs we have identified is to have a controlled expiration of a document. For instance, we obtain a file from a vendor, but we are required to destroy all copies of it after 30 days or on a specific date. Is there a way to do this with SWX PDM Pro or even to notify someone that has chec...
- Wed Apr 24, 2024 2:47 pm
- Forum: How To Questions
- Topic: Can I get rid of all Scenes?
- Replies: 5
- Views: 1168
Re: Can I get rid of all Scenes?
There's a System setting:
- Fri Apr 19, 2024 10:16 am
- Forum: 2D Drawings
- Topic: Text justification
- Replies: 10
- Views: 1605
- Wed Apr 17, 2024 3:39 pm
- Forum: SW General
- Topic: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
- Replies: 12
- Views: 2483
Re: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
Nice work. The appearance is surprisingly less painful. I second the post timestamp instead of how long ago request. Also, can you just get rid of the "Answered" label? The number of replies is shown and most humans can do the if(numReplies > 0) logic pretty quickly. It doesn't always say...
- Wed Apr 17, 2024 3:32 pm
- Forum: SW General
- Topic: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
- Replies: 12
- Views: 2483
Re: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
Very nice! Do you think it would be possible to extract the actual date/time for the post and display that rather than the "1 hour ago" nonsense they persist with? The data seems to be available when you hover over their vaguestamp. image.png At first glance, it's not straightforward. The...
- Wed Apr 17, 2024 3:23 pm
- Forum: API
- Topic: Find touching face in a multi-body part
- Replies: 9
- Views: 1716
Re: Find touching face in a multi-body part
Thank you, that's a good suggestion. I will try to implement that RayIntersections. True, selecting both faces would make it easier, but it's very awkward to do, since none of them are visible, and you have to do Select Other twice. It is much easier to simply hide one body to reveal one of the tou...
- Mon Apr 15, 2024 3:55 pm
- Forum: API
- Topic: Find touching face in a multi-body part
- Replies: 9
- Views: 1716
- Thu Apr 11, 2024 12:48 pm
- Forum: SW General
- Topic: Knitting surfaces or turning into solid changes face quality
- Replies: 31
- Views: 4225
Re: Knitting surfaces or turning into solid changes face quality
You have right. ST8 There is no tangent condition at the keel! Also, I don't understand why this sketch isn't parallel to the others. This can cause contact errors on the small lower surface of the bow Also, I believe ST1 has an incorrect pierce point. It is piercing the control point polyline and ...
- Thu Apr 11, 2024 12:23 pm
- Forum: SW General
- Topic: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
- Replies: 12
- Views: 2483
- Thu Apr 11, 2024 11:51 am
- Forum: SW General
- Topic: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
- Replies: 12
- Views: 2483
Improving the look/usability of the SWYMP Without Dassault Lifting a Finger
A little something I've been working on. My current view on CADForum.net: image.png Default view of the SWYMp (with 'compact' view enabled): image.png My current view of the SWYMp: image.png Nearly twice as many posts on screen. A lot of clutter removed: Useless compass Facebook-style 'likes' Dassau...
- Wed Apr 10, 2024 1:31 pm
- Forum: SW General
- Topic: Pipe Wye Branch(Bifurcation)
- Replies: 6
- Views: 1779
Re: Pipe Wye Branch(Bifurcation)
Surfaces are an efficient way to do this. The main issue is that when you slice a cone at an angle, you get an ellipse. So, your branches have to transition from a circle to an ellipse. The attached model uses surface lofts to create the ID and the OD and the ends are then capped so that it can all ...
- Mon Apr 08, 2024 8:50 am
- Forum: SW General
- Topic: Pipe Wye Branch(Bifurcation)
- Replies: 6
- Views: 1779
Re: Pipe Wye Branch(Bifurcation)
Can you post a closeup of the image on the left? I can't make out the dimensional information.
- Fri Mar 29, 2024 11:32 am
- Forum: How To Questions
- Topic: Recommendations on how to model this part
- Replies: 17
- Views: 2769
Re: Recommendations on how to model this part
Once I wrapped my head around the proper geometry it is rather simple. I was trying to force helix of 2 different pitches and angle of rotations to accomplish the geometry I thought I needed. It kind of worked, but was the wrong approach either way. I need to do research into equation driven curves...
- Fri Mar 29, 2024 7:13 am
- Forum: How To Questions
- Topic: Recommendations on how to model this part
- Replies: 17
- Views: 2769
Re: Recommendations on how to model this part
The only place you can "transition" from a helix to a flat is directly along a radial line. Any line that is not exactly a radial line cannot have a transition from a true helix to a true flat without a step. Anything you bodge together with surfaces may sorta look like a helix, but it wo...
- Thu Mar 28, 2024 11:47 am
- Forum: How To Questions
- Topic: Recommendations on how to model this part
- Replies: 17
- Views: 2769
Re: Recommendations on how to model this part
What are the required helix parameters? The numbers in your model seem manually tweaked as you said.
- Tue Mar 26, 2024 11:00 am
- Forum: How To Questions
- Topic: How to Run Macros While Closing the Solidworks)
- Replies: 5
- Views: 1117
Re: How to Run Macros While Closing the Solidworks)
Hello everyone, Sometimes when designing, I forget to run my important macros. Therefore, I came up with an idea and started researching: when finishing a drawing, I want a macro named Last.swp to run automatically when closing the part file. Can I do this, and do you have an example? oa I found th...
- Fri Mar 22, 2024 12:24 pm
- Forum: SW General
- Topic: Help with guide curves
- Replies: 15
- Views: 2484
Re: Help with guide curves
The issue with this part is that SW doesn't like something about the relations in your profile sketch. If you delete them, the sweep with guide curves completes without errors. The trick will be to determine which relation(s) it doesn't like. Update: After some further tests I see what's happening. ...
- Fri Mar 22, 2024 12:18 pm
- Forum: SW General
- Topic: Help with guide curves
- Replies: 15
- Views: 2484
Re: Help with guide curves
The shape can not change on a sweep, it can rotate around the center and/or contort when using "keep normal constant" setting, but the shape never changes. To get it to jut out on the left side like your skecth shows you would most likely have to do a loft or a series of extrudes/cuts. Th...
- Thu Mar 21, 2024 4:09 pm
- Forum: SW General
- Topic: Standard Parts Library: Configurations or Individual Parts?
- Replies: 42
- Views: 6719
Re: Standard Parts Library: Configurations or Individual Parts?
Same think would go for if you have PDM, then you almost have to 1 part file for each or you will have issues. Our hardware models are configured (via design table) and we've been using PDM since 2010. No issues. The part number, description, etc... are configuration specific properties. I have one...
- Wed Mar 20, 2024 12:01 pm
- Forum: SW Simulation
- Topic: a sharing violation occurred when accessing an unnamed file
- Replies: 5
- Views: 1574
Re: a sharing violation occurred when accessing an unnamed file
See the KnowledgeBase:
- Fri Mar 08, 2024 7:24 am
- Forum: SolidWorks PDM
- Topic: PDM on Citrix
- Replies: 3
- Views: 1093
Re: PDM on Citrix
From the Knowledge Base : QUESTION: Will SOLIDWORKS® PDM clients run in Terminal Server or Citrix environments? ANSWER: In many cases it will install in Terminal Server environments but there may be limitations as this is not fully tested or supported. Information on how to configure the client for ...
- Wed Feb 28, 2024 2:20 pm
- Forum: SW General
- Topic: How can this be possible???
- Replies: 19
- Views: 2665
Re: How can this be possible???
One help I've found is to color the key parent parts at the assy level, OR live by the rule of always working in a specific quadrant for symmetric assemblies. You call also roll the feature tree back above all the patterns/mirrors so they are invisible and unavailable for mates. Out of sight, out o...
- Wed Feb 28, 2024 9:24 am
- Forum: How To Questions
- Topic: Body Mass in Part
- Replies: 10
- Views: 1183
Re: Body Mass in Part
Here's a VBA version, using PartDoc::GetBodies instead of traversing the feature tree, which shortens the code quite a bit: Option Explicit Dim swApp As SldWorks.SldWorks Sub main() Dim mDoc As ModelDoc2 Dim pDoc As PartDoc Dim mExt As ModelDocExtension Dim massProp As MassProperty Dim vBodies As Va...
- Tue Feb 27, 2024 11:52 am
- Forum: SolidWorks PDM
- Topic: How do I get Admin Image changes to the client machine
- Replies: 3
- Views: 724
- Tue Feb 27, 2024 11:41 am
- Forum: SW General
- Topic: Confirm Delete Dialog Strangeness
- Replies: 8
- Views: 1265
Re: Confirm Delete Dialog Strangeness
It's not relevant to your question, but the Confirm Delete dialog box is one that I firmly believe should never be dismissed. There are too many variables, depending on the situation, and hiding it for one situation hides it for all of them. I would go a step further. Any dialog with more than two ...
- Tue Feb 27, 2024 11:38 am
- Forum: How To Questions
- Topic: Body Mass in Part
- Replies: 10
- Views: 1183
Re: Body Mass in Part
Here's a C# macro that will print the mass of each body in a multi-body part: using SolidWorks.Interop.sldworks; using SolidWorks.Interop.swconst; using System.Runtime.InteropServices; using System; using System.Diagnostics; namespace BodyWeights.csproj { public partial class SolidWorksMacro { /// <...
- Mon Feb 26, 2024 7:57 am
- Forum: SW General
- Topic: Confirm Delete Dialog Strangeness
- Replies: 8
- Views: 1265
Confirm Delete Dialog Strangeness
I was helping a user with a part model issue and I watched him delete a feature and noticed that the Confirm Delete dialog didn't appear. Obviously, he had at some point in the past clicked the 'Don't show again' checkbox in this dialog so I had him undo the delete, clear that entry in the system op...
- Mon Feb 26, 2024 7:46 am
- Forum: SW General
- Topic: How can this be possible???
- Replies: 19
- Views: 2665
Re: How can this be possible???
Are you using flexible subassemblies?
- Wed Feb 21, 2024 10:41 am
- Forum: SW General
- Topic: Is it possible to lengthen the reference line of a weld note?
- Replies: 7
- Views: 947
Re: Is it possible to lengthen the reference line of a weld note?
It's hokey, but you can add spaces before/after the weld size value and/or weld length-pitch values:
The downside is that when you go back into the weld symbol editor, it may look like there is no value:
- Mon Feb 19, 2024 8:16 am
- Forum: Macro Library
- Topic: Oddball text question
- Replies: 4
- Views: 995
Re: Oddball text question
What OCR software are you using on the Linux machine?
Also, can you upload one of the misbehaving files?
Also, can you upload one of the misbehaving files?
- Sun Feb 11, 2024 11:11 am
- Forum: 3D Print
- Topic: What is your 3D Printer?
- Replies: 27
- Views: 8715
Re: What is your 3D Printer?
We recently purchased three FormLabs 3+ printers to print high performance ceramic parts. We'll also use it for silicone and other materials in the future. The ceramic material prints slow. Extremely slow. Three days to print and 5 days to burn out and sinter fairly small parts. But, the alternative...
- Fri Feb 09, 2024 11:59 am
- Forum: Macro Library
- Topic: Macro to Initialize Unity and Customs properties
- Replies: 2
- Views: 746
Re: Macro to Initialize Unity and Customs properties
In this line: Debug.Print GetPropertyValue(swModel, prpName) you are calling your GetPropertyValue function with two arguments, but it expects three arguments: Function GetPropertyValue(model As SldWorks.ModelDoc2, prpName As String, prpVal As String) As String The third argument is useless since th...
- Tue Feb 06, 2024 8:08 am
- Forum: API
- Topic: loop with enumerators In VBA
- Replies: 4
- Views: 746
Re: loop with enumerators In VBA
I would like to read all those properties. is it possible to use a loop to get them or do i have to read themone by one with a separate call? something more elegant than copy and paste in excel 100s of lInes, put some code before and after the enumerators and pasting back on the VBA IDE... https://...
- Tue Jan 30, 2024 1:07 pm
- Forum: SolidWorks PDM
- Topic: PDM Icon missing from Notification Area
- Replies: 10
- Views: 2813
Re: PDM Icon missing from Notification Area
Check the task manager and see if explorer.exe or EdmServer.exe are running in elevated mode (you may have to add the 'Elevated' column). This is something that happens on some server operating systems. Maybe Windows 11 is doing something similar. If so, see QA00000125159 in the Knowledge Base for a...
- Tue Jan 30, 2024 7:07 am
- Forum: API
- Topic: macro features: what are they for?
- Replies: 6
- Views: 1399
Re: macro features: what are they for?
I am try to understand "macro features" and I probably need a couple of example to better grasp the concept as the documentation is quite difficult (at least for me) to understand and see a practical use. Are they a sort of macro embedded in a 3d file and triggered to do... uh something??...
- Mon Jan 29, 2024 3:34 pm
- Forum: How To Questions
- Topic: Determine the tolerance used to create an existing fit spline (bonus points for fit deviation)
- Replies: 7
- Views: 1494
Re: Determine the tolerance used to create an existing fit spline (bonus points for fit deviation)
I don't think it can be accessed. There is an SPR requesting the ability to see/change it:
- Sat Jan 27, 2024 6:49 pm
- Forum: API
- Topic: version control for macro development
- Replies: 9
- Views: 1491
Re: version control for macro development
All my batch files are made as shift jis encoded, I tried to add one to a test repository git and the diff tool in git desktop,(the first ui I found) show garbled text which means encoding problems. Can you upload a sample file? I'd like to see how it behaves. Also, you don't really need a program ...
- Fri Jan 26, 2024 1:29 pm
- Forum: SW General
- Topic: SOLIDWORKS Top Ten List - Curated List of Ideas for Busy Users
- Replies: 53
- Views: 9551
Re: SOLIDWORKS Top Ten List - Curated List of Ideas for Busy Users
Current top ten; 1 - ESCAPE Should Terminate Any Process and Return the Model/Drawing to its Previous State (92 votes) This is most likely an impossible task. They don't own the modeling kernel, so they are at the mercy of the people who wrote it. If the modeling kernel doesn't have provisions for ...
- Thu Jan 25, 2024 6:23 pm
- Forum: API
- Topic: version control for macro development
- Replies: 9
- Views: 1491
Re: version control for macro development
I've migrated all of my projects to c# using visual studio community for development and github for version control. Github is a game changer when compared to storage of copies on a network drive. I opted for a self-hosted Gitlab installation. Also, please be aware that VS Community has a pretty re...
- Thu Jan 25, 2024 7:51 am
- Forum: API
- Topic: version control for macro development
- Replies: 9
- Views: 1491
Re: version control for macro development
Switch to C# or VB.NET. They are far more powerful languages and you can use git with them.
- Fri Jan 19, 2024 1:55 pm
- Forum: SW General
- Topic: SolidWorks Installation Manager message
- Replies: 6
- Views: 2385
Re: SolidWorks Installation Manager message
I have seen that as well. I always ignore it and have never had a problem. The KnowledgeBase says to contact your VAR if you still get the message after a reboot:
- Tue Jan 16, 2024 1:08 pm
- Forum: How To Questions
- Topic: How to deploy a patched admIn Image
- Replies: 4
- Views: 1065
Re: How to deploy a patched admIn Image
Since you mentioned CAB files, does this mean you are using a compressed admin image? If so, I'm not familiar with the structure of those. However, if the expanded CAB file results in what looks like a normal admin image directory structure, you may want to use the ORCA tool to inspect the PDM clien...