Hi!
I have the serial number as a field in the data-card, then I use a dispatch script to rename the file(s) based on the field value. It required an extra-step, but I didn’t find a better solution. Maybe someone else could…
Search found 12 matches
- Sat Sep 30, 2023 5:50 am
- Forum: SolidWorks PDM
- Topic: How do I set serial number and rename files with PDM check in?
- Replies: 1
- Views: 1269
- Fri Sep 29, 2023 6:06 am
- Forum: API
- Topic: change properties of assemblies and parts from an excel list
- Replies: 7
- Views: 2533
Re: change properties of assemblies and parts from an excel list
Hi, if you are on SolidWorks subscription (so that you can requests a Document Manger license key) and if you have Excel 64bit you can use this macro from Codestack: https://www.codestack.net/solidworks-document-manager-api/document/data-storage/custom-properties/excel-functions/ You will have to sp...
- Fri Sep 29, 2023 1:34 am
- Forum: API
- Topic: Document Manager Replace external references
- Replies: 2
- Views: 1047
Re: Document Manager Replace external references
Hi!
Have you looked at codestack?
https://www.codestack.net/solidworks-do ... eferences/
Following that example I was able to do it for assembly and parts.
Have you looked at codestack?
https://www.codestack.net/solidworks-do ... eferences/
Following that example I was able to do it for assembly and parts.
- Fri Sep 01, 2023 5:23 am
- Forum: SW General
- Topic: Sheet formats and title block best practises
- Replies: 2
- Views: 913
Re: Sheet formats and title block best practises
Hi Peter, thank you for sharing your workflow. I did in fact mention the use of blocks because, like you, I use them to port the changes between formats and then explode them. It's a shame they don't have better functionalities. I was not able to have the title block as block referenced to an extern...
- Fri Sep 01, 2023 4:14 am
- Forum: SW General
- Topic: Sheet formats and title block best practises
- Replies: 2
- Views: 913
Sheet formats and title block best practises
Hello, I was wandering how you all handle modifications to title blocks and sheet formats. I'm in this condition: - a single drawing template - multiple sheet formats for different ISO dimensions (A4 to A0) - one title block Now we are in the middle of making some changes to the title block, which i...
- Fri Jul 21, 2023 3:20 am
- Forum: API
- Topic: Macro in the PDM Vault
- Replies: 17
- Views: 4137
Re: Macro in the PDM Vault
We store our macros in a PDM folder set to get the latest version on login. Works fine with 35 or so macro in a 10 users environment. This also allow me to have the macro files permanently checked-out so the other users can't mess with them; I can also experiment new features in my local cache and t...
- Sat Apr 01, 2023 3:46 am
- Forum: SolidWorks PDM
- Topic: refresh cache during login does nothing
- Replies: 9
- Views: 3319
Re: refresh cache during login does nothing
I have the same problem at my company; in our case the bug seems to affect only windows 11 machine but it is very inconsistent. I contacted my VAR about it. They suggested a change in the registry to enable a PDM feature that have been removed in 2019 due to performance improvement ( https://www.ja...
- Fri Mar 24, 2023 3:11 am
- Forum: API
- Topic: Macro to change drawing scale move dimensions
- Replies: 3
- Views: 1054
Re: Macro to change drawing scale move dimensions
Hi! Thanks for sharing your code. The updated macros, I'm sorry but comments are in italian: 'IngrScala ' 'Ingrandisce la scala del foglio attivo Const REMOVE_MODIFIED_NOTES As Boolean = True Dim swApp As SldWorks.SldWorks Dim swDraw As SldWorks.IDrawingDoc Dim swSheet As SldWorks.Sheet Dim sheetPro...
- Fri Mar 24, 2023 2:54 am
- Forum: SolidWorks PDM
- Topic: refresh cache during login does nothing
- Replies: 9
- Views: 3319
Re: refresh cache during login does nothing
I have the same problem at my company; in our case the bug seems to affect only windows 11 machine but it is very inconsistent. I contacted my VAR about it. They suggested a change in the registry to enable a PDM feature that have been removed in 2019 due to performance improvement ( https://www.jav...
- Thu Feb 16, 2023 1:54 am
- Forum: Macro Library
- Topic: Macro community on Github
- Replies: 1
- Views: 1561
Macro community on Github
I regularly use a dozen or so macro that I store in private repository on Github in order to have version control. I'm considering making some of these repositories public to share my work and receive feedback, and I was wondering if there is an active community on Github for SolidWorks macros and a...
- Fri Dec 09, 2022 2:28 am
- Forum: API
- Topic: Macro to change drawing scale move dimensions
- Replies: 3
- Views: 1054
Re: Macro to change drawing scale move dimensions
I think I found a solution, or at least a workaround. The issue seems to be related with both Sheet::SetScale and Sheet::ReloadTemplate. Instead of SetScale I now use SetupSheet5 to set the scale and instead of ReloadTemplate I first load an empty template and then the actual one. A couple od SPR th...
- Tue Dec 06, 2022 10:42 am
- Forum: API
- Topic: Macro to change drawing scale move dimensions
- Replies: 3
- Views: 1054
Macro to change drawing scale move dimensions
I have a couple of macros that change the drawing scale between a series of predefined steps. One macro enlarge the view, the other reduce it. I can't figure out why these macro change the position of the dimensions, and just for the base view. I though it was the <ScaleAnnoPosition> of the <SetScal...