Search found 584 matches

by JSculley
Fri May 17, 2024 3:09 pm
Forum: SolidWorks PDM
Topic: PDM 2024 SP2
Replies: 4
Views: 97

Re: PDM 2024 SP2

They aren't visible at all. Same folder to copy tree into. Refresh the explorer. Lather, rinse, repeat, crash out...... Just another fun day ending in 'y'. I'm trying out some other theories in doing the copy tree. I'll post again if I find out anything through my trial runs. Have a good weekend. B...
by JSculley
Fri May 17, 2024 12:30 pm
Forum: SolidWorks PDM
Topic: PDM 2024 SP2
Replies: 4
Views: 97

Re: PDM 2024 SP2

But if you try to save as that PN, it says it already exists and you can overwrite it. It sounds like the files have been created but not added to the vault. They won't show up in a search, but you should be able to browse to the folder and see them there. The icon will be slightly transparent and ...
by JSculley
Fri May 17, 2024 12:01 pm
Forum: SolidWorks PDM
Topic: Start web application with button.
Replies: 6
Views: 244

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...
by JSculley
Thu May 16, 2024 2:08 pm
Forum: SolidWorks PDM
Topic: Start web application with button.
Replies: 6
Views: 244

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.
by JSculley
Thu May 16, 2024 1:01 pm
Forum: SW General
Topic: Tab-To-(only temporarily)-Hide
Replies: 24
Views: 600

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...
by JSculley
Wed May 15, 2024 2:25 pm
Forum: SW General
Topic: Programming in SolidWorks, how important is it?
Replies: 18
Views: 662

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...
by JSculley
Tue May 14, 2024 11:25 am
Forum: SW General
Topic: Programming in SolidWorks, how important is it?
Replies: 18
Views: 662

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...
by JSculley
Mon May 13, 2024 3:19 pm
Forum: How To Questions
Topic: Close document without unloading it from memory?
Replies: 4
Views: 262

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...
by JSculley
Mon May 13, 2024 11:05 am
Forum: How To Questions
Topic: Close document without unloading it from memory?
Replies: 4
Views: 262

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.
by JSculley
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: 4
Views: 373

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...
by JSculley
Thu May 02, 2024 5:23 pm
Forum: SolidWorks PDM
Topic: Document Expiration Date - Is it possible?
Replies: 10
Views: 391

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...
by JSculley
Wed Apr 24, 2024 2:47 pm
Forum: How To Questions
Topic: Can I get rid of all Scenes?
Replies: 5
Views: 390

Re: Can I get rid of all Scenes?

There's a System setting:
image.png
by JSculley
Fri Apr 19, 2024 10:16 am
Forum: 2D Drawings
Topic: Text justification
Replies: 10
Views: 467

Re: Text justification

Bryan O wrote: Thu Apr 18, 2024 3:46 pm I'm playing with my title block layouts and I cant figure out how to Center/Center justify the text in a given space.
image.png
image.png

Any tips
Can you upload your template?
by JSculley
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: 898

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...
by JSculley
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: 898

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...
by JSculley
Wed Apr 17, 2024 3:23 pm
Forum: API
Topic: Find touching face in a multi-body part
Replies: 9
Views: 686

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...
by JSculley
Mon Apr 15, 2024 3:55 pm
Forum: API
Topic: Find touching face in a multi-body part
Replies: 9
Views: 686

Re: Find touching face in a multi-body part

laukejas wrote: Sat Apr 13, 2024 7:10 am Since there might be many bodies in the model, I think the best way to find the other body is to find the touching face, which should be identical to the one user selected.
Is there a guarantee the faces are 'identical'? What about a part like this:
image.png
by JSculley
Thu Apr 11, 2024 12:48 pm
Forum: SW General
Topic: Knitting surfaces or turning into solid changes face quality
Replies: 31
Views: 1445

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 ...
by JSculley
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: 898

Re: Improving the look/usability of the SWYMP Without Dassault Lifting a Finger

josh wrote: Thu Apr 11, 2024 12:12 pm Did you forget to attach the script? :-D
It's not quite ready.
by JSculley
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: 898

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...
by JSculley
Wed Apr 10, 2024 1:31 pm
Forum: SW General
Topic: Pipe Wye Branch(Bifurcation)
Replies: 6
Views: 928

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 ...
by JSculley
Mon Apr 08, 2024 8:50 am
Forum: SW General
Topic: Pipe Wye Branch(Bifurcation)
Replies: 6
Views: 928

Re: Pipe Wye Branch(Bifurcation)

Can you post a closeup of the image on the left? I can't make out the dimensional information.
by JSculley
Fri Mar 29, 2024 11:32 am
Forum: How To Questions
Topic: Recommendations on how to model this part
Replies: 17
Views: 1116

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...
by JSculley
Fri Mar 29, 2024 7:13 am
Forum: How To Questions
Topic: Recommendations on how to model this part
Replies: 17
Views: 1116

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...
by JSculley
Thu Mar 28, 2024 11:47 am
Forum: How To Questions
Topic: Recommendations on how to model this part
Replies: 17
Views: 1116

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.
by JSculley
Tue Mar 26, 2024 11:00 am
Forum: How To Questions
Topic: How to Run Macros While Closing the Solidworks)
Replies: 5
Views: 454

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...
by JSculley
Fri Mar 22, 2024 12:24 pm
Forum: SW General
Topic: Help with guide curves
Replies: 15
Views: 739

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. ...
by JSculley
Fri Mar 22, 2024 12:18 pm
Forum: SW General
Topic: Help with guide curves
Replies: 15
Views: 739

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...
by JSculley
Thu Mar 21, 2024 4:09 pm
Forum: SW General
Topic: Standard Parts Library: Configurations or Individual Parts?
Replies: 34
Views: 1646

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...
by JSculley
Fri Mar 08, 2024 7:24 am
Forum: SolidWorks PDM
Topic: PDM on Citrix
Replies: 2
Views: 229

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 ...
by JSculley
Wed Feb 28, 2024 2:20 pm
Forum: SW General
Topic: How can this be possible???
Replies: 19
Views: 943

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...
by JSculley
Wed Feb 28, 2024 9:24 am
Forum: How To Questions
Topic: Body Mass in Part
Replies: 10
Views: 483

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...
by JSculley
Tue Feb 27, 2024 11:41 am
Forum: SW General
Topic: Confirm Delete Dialog Strangeness
Replies: 8
Views: 589

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 ...
by JSculley
Tue Feb 27, 2024 11:38 am
Forum: How To Questions
Topic: Body Mass in Part
Replies: 10
Views: 483

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 { /// <...
by JSculley
Mon Feb 26, 2024 7:57 am
Forum: SW General
Topic: Confirm Delete Dialog Strangeness
Replies: 8
Views: 589

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...
by JSculley
Mon Feb 26, 2024 7:46 am
Forum: SW General
Topic: How can this be possible???
Replies: 19
Views: 943

Re: How can this be possible???

Are you using flexible subassemblies?
by JSculley
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: 427

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:
image.png
The downside is that when you go back into the weld symbol editor, it may look like there is no value:
image.png
by JSculley
Mon Feb 19, 2024 8:16 am
Forum: Macro Library
Topic: Oddball text question
Replies: 4
Views: 318

Re: Oddball text question

What OCR software are you using on the Linux machine?

Also, can you upload one of the misbehaving files?
by JSculley
Sun Feb 11, 2024 11:11 am
Forum: 3D Print
Topic: What is your 3D Printer?
Replies: 26
Views: 5884

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...
by JSculley
Fri Feb 09, 2024 11:59 am
Forum: Macro Library
Topic: Macro to Initialize Unity and Customs properties
Replies: 2
Views: 295

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...
by JSculley
Tue Feb 06, 2024 8:08 am
Forum: API
Topic: loop with enumerators In VBA
Replies: 4
Views: 352

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://...
by JSculley
Tue Jan 30, 2024 1:07 pm
Forum: SolidWorks PDM
Topic: PDM Icon missing from Notification Area
Replies: 10
Views: 928

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...
by JSculley
Tue Jan 30, 2024 7:07 am
Forum: API
Topic: macro features: what are they for?
Replies: 6
Views: 777

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??...
by JSculley
Sat Jan 27, 2024 6:49 pm
Forum: API
Topic: version control for macro development
Replies: 9
Views: 903

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 ...
by JSculley
Fri Jan 26, 2024 1:29 pm
Forum: SW General
Topic: SOLIDWORKS Top Ten List - Curated List of Ideas for Busy Users
Replies: 50
Views: 4078

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 ...
by JSculley
Thu Jan 25, 2024 6:23 pm
Forum: API
Topic: version control for macro development
Replies: 9
Views: 903

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...
by JSculley
Thu Jan 25, 2024 7:51 am
Forum: API
Topic: version control for macro development
Replies: 9
Views: 903

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.