How to change many parts in PDM with a macro (?)

Discuss SolidWorks PDM
berg_lauritz
Posts: 423
Joined: Tue Mar 09, 2021 10:11 am
Answers: 6
x 439
x 233

How to change many parts in PDM with a macro (?)

Unread post by berg_lauritz »

Good day to you all, I'm finally back, after my old company sent me away due to outsourcing quite suddenly.

After all those sheet metal problems (I will write an update fairly soon on those), I'm now with a company, that uses PDM and we would like to lock some parts with a freeze bar and change custom properties to be standardized across the parts.
  1. Does it make a difference to freeze vaulted parts for the rebuild speed with a PDM system? Most parts are not checked out and are locked into the vault anyway. Or am I wrong here?
  2. How can I change custom properties to look like

    Code: Select all

    "SW-Material@@configname@partname.SLDPRT"
    ? Is the only way a macro or do I have other options?
  3. The BOMs here are basically done manually and we would like to automate things better. Any literature/courses/videos on this regarding PDM? Any additional best practices on how to deal with different materials from different vendors properly (shape stays the same, material changes, maybe thickness a bit, color changes....)?
by TomCote45 » Thu May 27, 2021 5:38 am
1. Using the freeze bar in SOLIDWORKS is different than having a PDM vault and the file locked (checked in). Just because the part model is not checked out does not mean that SOLIDWORKS will not rebuild the model in SOLIDWORKS (especially if you select Ctrl-Q on the keyboard. From testing a few years ago we found that "freezing" part models does make a difference in large assembly performance. A few of our customers have made Freeze a requirement for releasing part models.
2. The only ways I can think of to change existing files in PDM is manual (check out and open each file) or programmatically. It's a pretty simple macro and it can be automated within PDM Pro.
3. BoM's are still the "wild west" in PDM, seems every company just finds a way to get it done. Part of it depends upon PLM or MRP or manual, etc...
Have you ever looked at OpenBoM?
Go to full post
TomCote45
Posts: 3
Joined: Mon Apr 19, 2021 1:54 pm
Answers: 1
x 4

Re: How to change many parts in PDM with a macro (?)

Unread post by TomCote45 »

1. Using the freeze bar in SOLIDWORKS is different than having a PDM vault and the file locked (checked in). Just because the part model is not checked out does not mean that SOLIDWORKS will not rebuild the model in SOLIDWORKS (especially if you select Ctrl-Q on the keyboard. From testing a few years ago we found that "freezing" part models does make a difference in large assembly performance. A few of our customers have made Freeze a requirement for releasing part models.
2. The only ways I can think of to change existing files in PDM is manual (check out and open each file) or programmatically. It's a pretty simple macro and it can be automated within PDM Pro.
3. BoM's are still the "wild west" in PDM, seems every company just finds a way to get it done. Part of it depends upon PLM or MRP or manual, etc...
Have you ever looked at OpenBoM?
berg_lauritz
Posts: 423
Joined: Tue Mar 09, 2021 10:11 am
Answers: 6
x 439
x 233

Re: How to change many parts in PDM with a macro (?)

Unread post by berg_lauritz »

@TomCote45

Sorry for this late answer, I didn't see yours!

Thank you for that clarification, we'll add freeze to all our vendor parts then.
berg_lauritz
Posts: 423
Joined: Tue Mar 09, 2021 10:11 am
Answers: 6
x 439
x 233

Re: How to change many parts in PDM with a macro (?)

Unread post by berg_lauritz »

Something additional I learned from @Alin :
It has NO effect on rebuild times of an assembly actually. So it's more of a locking mechanism & to speed up when working with configurations.
User avatar
mp3-250
Posts: 630
Joined: Tue Sep 28, 2021 4:09 am
Answers: 20
Location: Japan
x 704
x 347

Re: How to change many parts in PDM with a macro (?)

Unread post by mp3-250 »

For some trouble we had in the past Freeze bar is disable on our installations.
Former Mechanical Engineer (UG-NX ), now a miserable SW CAD/PDM admin... debugging Solidworks since 2014. Please save me from ThE pLaTfOrM...
All the opinions are my own.
SW is bad: a fact not an opinion.
Post Reply