Search found 632 matches

by JSculley
Wed Jan 25, 2023 9:14 am
Forum: SolidWorks PDM
Topic: Rollback Puts Files in Wrong State
Replies: 7
Views: 1509

Re: Rollback Puts Files in Wrong State

It seems random but sometimes the transition "Approved" to "Release" in our workflow happens after the Revision label is applied, and sometimes before. So if you select the Revision label and do a rollback, it rolls back the transition as well if the transition occurred after. I...
by JSculley
Tue Jan 24, 2023 2:29 pm
Forum: SolidWorks PDM
Topic: Rollback Puts Files in Wrong State
Replies: 7
Views: 1509

Re: Rollback Puts Files in Wrong State

Just a shot in the dark, but do any of your "Approval Pending" files have the same version number as the "Approved" files? I feel like it may look at the task of "roll back to revision 0" as "roll back to version 18" I feel like I've seen this before but I'll...
by JSculley
Tue Jan 24, 2023 12:07 pm
Forum: SolidWorks PDM
Topic: Rollback Puts Files in Wrong State
Replies: 7
Views: 1509

Rollback Puts Files in Wrong State

Trying to do some clean up in my vault by searching for files that are in a 'Changes Pending' state, which means that they are being revised from our 'Approved' state. Some of these files were put in this state by accident, so no revision is actually necessary, so I rollback the model and drawing. I...
by JSculley
Sun Jan 22, 2023 4:01 pm
Forum: SW General
Topic: How do you handle standard parts in modified/deformed states?
Replies: 7
Views: 921

Re: How do you handle standard parts in modified/deformed states?

1. Create an assembly, insert the purchased part, make modifications there. This keeps the BOM correct. You buy part ABC123, you modify it to create part DEF246. 2. I'd use configurations, with the config name providing some sort of link to where it was used. For example, 'FOR ASSY ABC123'. 3. Confi...
by JSculley
Fri Jan 20, 2023 6:43 pm
Forum: API
Topic: SolidWorks' SaveToCSV Method (IEdmBomView3) exports a CSV as UTF16 LE
Replies: 1
Views: 651

Re: SolidWorks' SaveToCSV Method (IEdmBomView3) exports a CSV as UTF16 LE

It does the same thing when using the regular UI and not the API. There's an SPR for it:

SPR 1188078: CSV created from PDM BOM, Contains, Where Used tabs (Open as CSV file, Save As - CSV) should use UTF-8 encoding.
by JSculley
Wed Jan 18, 2023 2:35 pm
Forum: SW General
Topic: Why Solidworks prevents adding this hole?
Replies: 25
Views: 3243

Re: Why Solidworks prevents adding this hole?

I cannot open the attached file, but not sure what the poor practices is all about. From the info in this thread there's a lapped corner with the flanges being tight together and then add a hole feature through them or am I missing something? I just did that in Solid Edge (parasolid) and I cannot g...
by JSculley
Wed Jan 11, 2023 11:48 am
Forum: CAD Admin (Install, PDM, etc)
Topic: Best practice recording
Replies: 4
Views: 1578

Re: Best practice recording

I have a local GitLab server for hosting my add-in source code and tracking issues and such. It also includes a Wiki where I put the sort of information you are talking about: image.png Each Gitlab project has its own Wiki, so you can create different projects with different user access levels (e.g....
by JSculley
Mon Jan 09, 2023 3:11 pm
Forum: SW General
Topic: Display of failed features in an assembly when selecting a part
Replies: 3
Views: 325

Re: Display of failed features in an assembly when selecting a part

It's worked that way all the way back to 2017 (the earliest version I have), if not further. I don't think it can be turned on/off. Best way to get rid of it is to fix the model. :D
by JSculley
Fri Jan 06, 2023 3:44 pm
Forum: SolidWorks PDM
Topic: Copy Tree over existing file(s)
Replies: 2
Views: 1598

Re: Copy Tree over existing file(s)

Do you have 'Do not allow duplicate file names' enabled for your vault? If so, this may be the culprit: SPR: 1111982 SOLIDWORKS PDM: Not possible to overwrite existing file (when renaming copied file to target file name) using Copy Tree if 'Do not allow duplicate file names' is enabled -Copy button ...
by JSculley
Fri Jan 06, 2023 11:44 am
Forum: API
Topic: Transform.ArrayData - Cannot apply indexing?
Replies: 10
Views: 1271

Re: Transform.ArrayData - Cannot apply indexing?

What is to the left of Transform1 in the code above? Can you post the complete lines?
by JSculley
Mon Jan 02, 2023 11:35 am
Forum: How To Questions
Topic: Solidworks Auto Balloon
Replies: 21
Views: 3162

Re: Solidworks Auto Balloon

berg_lauritz wrote: Mon Jan 02, 2023 10:18 am So you're always left with double checking if all are called out. grumph
Hopefully you are aware that you can expand the left side of the BOM table to quickly see if any items don't have balloons.
by JSculley
Fri Dec 23, 2022 12:30 pm
Forum: API
Topic: Select cut lists folder and insert 3D bounding box.
Replies: 2
Views: 824

Re: Select cut lists folder and insert 3D bounding box.

Here's a minimal example that will put a bounding box around every cut list item that isn't a structural member. Dim swApp As SldWorks.SldWorks Dim fMgr As FeatureManager Dim mDoc As ModelDoc2 Dim mExt As ModelDocExtension Dim fCount As Integer Dim retval As Boolean Sub main() Set swApp = Applicatio...
by JSculley
Thu Dec 22, 2022 12:53 pm
Forum: SolidWorks PDM
Topic: rollback a parent assy by mistake?
Replies: 9
Views: 1586

Re: rollback a parent assy by mistake?

What should happen when the drawing and subassembly are rolled back is this: image.png The main assembly should not be touched at all and the references in the subassembly should become broken. The fact that PDM deletes one or more versions of the main assembly to meet the reference requirements of ...
by JSculley
Thu Dec 22, 2022 10:18 am
Forum: SolidWorks PDM
Topic: rollback a parent assy by mistake?
Replies: 9
Views: 1586

Re: rollback a parent assy by mistake?

I was able to replicate this behavior with a pretty simple test, and it is quite alarming. Here's what I did: Create a new assembly Create a sketch in the assembly Save Create a second assembly Create a sketch in the second assembly Save Create a drawing of the second assembly Save the drawing Add t...
by JSculley
Thu Dec 22, 2022 8:16 am
Forum: SolidWorks PDM
Topic: PDM customize RMB menu with sub menus
Replies: 6
Views: 1632

Re: PDM customize RMB menu with sub menus

@JSculley thank you very much! Did you disassemble the dll with resource editor or do you have some other tool you could kindly suggest me? If you have Visual Studio, you can use ILDASM.EXE and ILASM.EXE to do the disassembly and reassembly. From a Visual Studio command prompt: image.png launch the...
by JSculley
Wed Dec 21, 2022 2:35 pm
Forum: How To Questions
Topic: Solidworks Auto Balloon
Replies: 21
Views: 3162

Re: Solidworks Auto Balloon

SPerman wrote: Wed Dec 21, 2022 10:49 am I like the alignment line. I wish when I made it longer, the balloons didn't move.

I am a gif, click me!
drag.gif
There is an enhancement SPR for this:

701745 -- When changing the length of a magnetic line do not move / shift the balloons position
by JSculley
Tue Dec 20, 2022 1:32 pm
Forum: SolidWorks PDM
Topic: PDM customize RMB menu with sub menus
Replies: 6
Views: 1632

Re: PDM customize RMB menu with sub menus

I am lookIng for a way to reduce the size oF the RMB menu inside the vault. I have already moved all our tasks inside a sub menu and I would like to move the vault add-ins in a "add-in" sub folder but I cannot find a way to do it. Any idea? The menu structure for commands added by an add-...
by JSculley
Tue Dec 13, 2022 7:34 am
Forum: SW General
Topic: SOLIDWORSK Registry Reset Question
Replies: 1
Views: 319

Re: SOLIDWORSK Registry Reset Question

From S-035651: ======================== When SolidWorks starts it will look for the value of a setting registry key in the following locations and order HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks n HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks n-1 (i.e. if n -s 2009m n-1 = 2008) HKEY_LOCAL_...
by JSculley
Mon Dec 12, 2022 1:28 pm
Forum: SW General
Topic: Lofted Cut: Start Constraint(Normal To Profile) - How To Disable 'Apply to all'?
Replies: 9
Views: 754

Re: Lofted Cut: Start Constraint(Normal To Profile) - How To Disable 'Apply to all'?

The vertices selected in the two images are not the same. Here they are side by side:
image.png
by JSculley
Mon Dec 12, 2022 1:20 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: PDM and AutoCAD Electrical
Replies: 3
Views: 5479

Re: PDM and AutoCAD Electrical

The WDT file is an alternative way to set up title blocks. Here we were using the WB_TB method. You can read about the two methods here . The .aepx file is a 'secondary project file" that is automatically generated, even if it is deleted. It is never edited directly. You could probably ignore i...
by JSculley
Mon Dec 12, 2022 11:12 am
Forum: CAD Admin (Install, PDM, etc)
Topic: PDM and AutoCAD Electrical
Replies: 3
Views: 5479

Re: PDM and AutoCAD Electrical

Autocad Electrical uses a single WDP file for each project. This file has project specific info that can appear on each schematic in the package. If the Autocad title blocks are set up to use this information, you can map the title block attributes to PDM and your data cards will have the correct in...
by JSculley
Mon Dec 12, 2022 9:35 am
Forum: SW General
Topic: Lofted Cut: Start Constraint(Normal To Profile) - How To Disable 'Apply to all'?
Replies: 9
Views: 754

Re: Lofted Cut: Start Constraint(Normal To Profile) - How To Disable 'Apply to all'?

This will be hard to diagnose without at least some screen shots of the geometry. If you can upload the model, that would be best.
by JSculley
Fri Dec 09, 2022 2:18 pm
Forum: API
Topic: How to change IEdmFile type to IModelDocExtension type
Replies: 6
Views: 1095

Re: How to change IEdmFile type to IModelDocExtension type

I have SOLIDWORKS 2020 which Dassault currently doesn't offer Document Manager API for. When requesting a key, is there any difference if I select SOLIDWORKS 2021 as my product version? Yes, I have PDM Pro and I'm trying to get a list of all parent assemblies that reference files outside of the vau...
by JSculley
Thu Dec 08, 2022 2:50 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: PDM how to edit variables that are "Read Only" on the data card?
Replies: 2
Views: 1405

Re: PDM how to edit variables that are "Read Only" on the data card?

Yes. The blank tab will be shown unless you are a member of the group named on some other tab. Normally, my card looks like this: image.png If I'm logged in as a member of the 'Vault Admins' group, it looks like this: image.png The 'Admin Info' panel on the bottom contains any fields I might want to...
by JSculley
Thu Dec 08, 2022 8:48 am
Forum: SolidWorks PDM
Topic: SQL behind the PDM "Search.exe" tool
Replies: 8
Views: 2075

Re: SQL behind the PDM "Search.exe" tool

SQL Server Management Studio provides query tracing and can show you the execution plan for the query . Make sure you enable tracing of RPC Starting events to capture the correct SQL query. Pasting these queries into Management Studio, a search by state (on my server) is about the same speed as a se...
by JSculley
Wed Nov 30, 2022 12:34 pm
Forum: CAD Agnostic
Topic: ISO Part Naming Standard
Replies: 4
Views: 1605

Re: ISO Part Naming Standard

Possibly

ISO 7573:2008 - Technical product documentation — Parts lists
by JSculley
Wed Nov 30, 2022 8:36 am
Forum: How To Questions
Topic: Hole callout format for round cut extrudes (not hole wizard)
Replies: 5
Views: 1716

Re: Hole callout format for round cut extrudes (not hole wizard)

From the Knowledge Base: ====================================== Solution Id: S-068143 Product: SOLIDWORKS 2020 Network Installation Created: 2/12/2015 Technically Reviewed Date: 3/10/2022 Area: Part Sub-Area: Hole Question: Is it possible to remove the suffix "THRU" from hole callouts of s...
by JSculley
Fri Nov 11, 2022 10:23 am
Forum: SW General
Topic: Large files after saving configuration as part.
Replies: 7
Views: 890

Re: Large files after saving configuration as part.

Ouch. If I create a new model with features built in the same way as your design table generated model, the file size is only 88kB. That's almost 9x smaller. Where in the world is the bloat coming from? I have a design table socket head cap screw model that I created in 1999 that has been used in ne...
by JSculley
Thu Nov 10, 2022 4:29 pm
Forum: SW Simulation
Topic: Welds?
Replies: 7
Views: 1972

Re: Welds?

There might be something of value here. ... ... Or here: https://apolloedge.com/2018/08/30/how-to-size-a-fillet-weld-using-finite-element-analysis-fea/ They are using ANSYS but the methodology would work with other FEA software. The bottom line is to not use FEA to check the welds, but rather use F...
by JSculley
Wed Nov 09, 2022 1:49 pm
Forum: Macro Library
Topic: macro help needed
Replies: 4
Views: 1519

Re: macro help needed

Option Explicit Dim swApp As SldWorks.SldWorks Dim mDoc As ModelDoc2 Dim selMgr As SelectionMgr Dim sketchMgr As SketchManager Dim theSketch As Sketch Dim theSketchFeature As Feature Dim selCount As Long Dim selType As swSelectType_e Dim selFace As Face2 Dim i As Integer Dim result As Boolean Sub m...
by JSculley
Thu Nov 03, 2022 3:17 pm
Forum: SW General
Topic: Order of Operations for Hole Wizard on Cylindrical Face
Replies: 5
Views: 1433

Re: Order of Operations for Hole Wizard on Cylindrical Face

This is really buggy behavior. If you just drop a point anywhere to prevent the error message and then go back and attempt to edit the 3D sketch and try to add new points coincident to where you originally wanted them, you get no error message but you also get no holes. The points are there, but no ...
by JSculley
Thu Nov 03, 2022 7:52 am
Forum: API
Topic: 2022 sp4 PDM API Issue with batchUnlocker.AddSelection
Replies: 7
Views: 997

Re: 2022 sp4 PDM API Issue with batchUnlocker.AddSelection

I just ran the example code with no problems. Can you ZIP up your Visual Studio solution with just the SW example code and upload it?
by JSculley
Wed Oct 26, 2022 2:55 pm
Forum: SW General
Topic: to PDM standard or not
Replies: 40
Views: 4931

Re: to PDM standard or not

Admin can just check the file out in released state (or any state for that matter) to do little fixes, AFAIK there's no need to change state for admin fixes. Sounds like signing the admin up to do work someone else should be doing. Much like CT-Simo I created a Non-Revision Change transition for th...
by JSculley
Wed Oct 26, 2022 2:42 pm
Forum: CAD Admin (Install, PDM, etc)
Topic: PDM, Is there a better place to Destroy the Deleted files? Sort by file type?
Replies: 13
Views: 2235

Re: PDM, Is there a better place to Destroy the Deleted files? Sort by file type?

I don't understand all that goes on in the back ground, but I have learned to see a little. It seems that all these deleted files are still in the documents table just have the deleted field set to 1. If I could add that to a search, deleted = 1, and have ability to destroy from there, that would b...
by JSculley
Wed Oct 26, 2022 11:31 am
Forum: SW General
Topic: Blank Part numbers in Design Table
Replies: 11
Views: 1058

Re: Blank Part numbers in Design Table

Once upon a time blanks were allowed in Design Tables for Part numbers. Evidently, now they aren't. Dunno when this happened. 2013 by the looks of it: image.png I've got a fastener library that was created WAY BACK WHEN which has blanks in the Part Numbers. Now if I make the mistake of editing the ...
by JSculley
Tue Oct 25, 2022 1:54 pm
Forum: API
Topic: Material Search Add-In
Replies: 22
Views: 4292

Re: Material Search Add-In

Getting closer, but there is a lot of strange behavior when setting materials for bodies from inside assemblies. Still trying to sort out if it's on SOLIDWORKS end or my end.
image.png
by JSculley
Tue Oct 25, 2022 12:12 pm
Forum: Computer Aided Engineering
Topic: functional-programming
Replies: 4
Views: 1377

Re: functional-programming

For developer/programmer: https://spectrum.ieee.org/functional-programming The 'biggest' functional language (Haskell) with 130k Github repositories (per the article) is absolutely dwarfed by most other programming languages: Java: 11,657,394 Javascript: 15,607,544 C: 2,243,601 C++: 2,246,888 C#: 2...
by JSculley
Tue Oct 25, 2022 8:20 am
Forum: API
Topic: Programmatically Determine if Configuration is From Design Table
Replies: 6
Views: 663

Re: Programmatically Determine if Configuration is From Design Table

SPR 289114 - Would like API to tell whether configuration is driven by Design Table

It's a relatively new SPR from July 2021.

It would be nice to have but it isn't essential for me, so I'll sign up to be notified if it is implemented and move on.
by JSculley
Mon Oct 24, 2022 6:42 pm
Forum: API
Topic: Programmatically Determine if Configuration is From Design Table
Replies: 6
Views: 663

Re: Programmatically Determine if Configuration is From Design Table

josh wrote: Mon Oct 24, 2022 4:54 pm I can't see where that's exposed in the API. It's obviously stored somewhere because the tree shows a different icon for DT controlled configs, but I don't see it anywhere.
Yeah. And I want to use it for exactly that: displaying the appropriate icon.
by JSculley
Mon Oct 24, 2022 4:16 pm
Forum: API
Topic: Programmatically Determine if Configuration is From Design Table
Replies: 6
Views: 663

Programmatically Determine if Configuration is From Design Table

Is there a method via the API to determine if a configuration is controlled by a design table? I'm looking for something that doesn't involve activating the design table.
by JSculley
Mon Oct 24, 2022 2:50 pm
Forum: SW General
Topic: to PDM standard or not
Replies: 40
Views: 4931

Re: to PDM standard or not

To me (and maybe I am not understanding this properly) a revision is a milestone. When a change to a part is required, a new revision is generated. Versions are something that happen in the background and are mostly meaningless until they are committed to a revision. Every check-in creates a new ve...
by JSculley
Mon Oct 24, 2022 2:40 pm
Forum: SW General
Topic: Decisions....Decisions
Replies: 5
Views: 1054

Decisions....Decisions

Should I tell SOLIDWORKS that their Xceed Zip for .NET and .NET Standard has expired? Or should I tell Xceed Zip for .NET and .NET Standard that SOLIDWORKS is using an expired license? ============================================= 'SldWorks.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Fi...
by JSculley
Sat Oct 22, 2022 10:46 am
Forum: SW General
Topic: to PDM standard or not
Replies: 40
Views: 4931

Re: to PDM standard or not

The problem we're facing that we want to solve is the slowness of opening files. As you can imagine we use big assemblies. We created a workflow that is very modular just to prevent having massive ASM's but none the less sometimes we still have big ASM's that take a while to open/save. ... ... ... ...
by JSculley
Fri Oct 21, 2022 4:10 pm
Forum: API
Topic: Material Search Add-In
Replies: 22
Views: 4292

Re: Material Search Add-In

I love the tree option for this one - especially if you have nested configurations. Of course having the option to set a default would be nice and probably the best option. I read your linked post an I'm disappointed again about how many settings/hidden settings are only on a document level in Soli...
by JSculley
Fri Oct 21, 2022 1:43 pm
Forum: API
Topic: Material Search Add-In
Replies: 22
Views: 4292

Re: Material Search Add-In

How about a tree like this for a solution:
image.png
The default is the checked config is the configuration in the assembly of the selected component. Checking the ABC.sldprt checkbox applies to all configs. Otherwise, pick and choose.
by JSculley
Fri Oct 21, 2022 12:15 pm
Forum: API
Topic: Material Search Add-In
Replies: 22
Views: 4292

Re: Material Search Add-In

some more weirdness that might be useful for debugging here: If I search for the description differently it will show it. OK. I'm pretty sure I know what's going on there. Should be a quick fix. Also, I have been working on the usage from an assembly issue. I stumbled into a strange SW behavior tha...
by JSculley
Fri Oct 21, 2022 11:38 am
Forum: SW General
Topic: Crazy Long Term Bug
Replies: 10
Views: 1085

Re: Crazy Long Term Bug

Here's another tangentially related bit of strangeness. The Material dialog has a Config... button that lets you specify where the material should be applied: this config, all configs, specific configs. This setting is seemingly global. For example, if you edit the material in one part document, set...
by JSculley
Thu Oct 20, 2022 2:26 pm
Forum: SW General
Topic: SWYMP Image Paste Troubles
Replies: 5
Views: 572

Re: SWYMP Image Paste Troubles

Seems to be working again.
by JSculley
Thu Oct 20, 2022 1:07 pm
Forum: SW General
Topic: to PDM standard or not
Replies: 40
Views: 4931

Re: to PDM standard or not

The answers to your questions really depend on your answer to this question:

What problem(s) do you hope to solve or objectives to you hope to achieve by using PDM?