Search found 10 matches

by starshiphalo2333
Tue Nov 14, 2023 4:59 pm
Forum: SolidWorks PDM
Topic: Setting or clearing custom property when adding files to vault
Replies: 8
Views: 1200

Re: Setting or clearing custom property when adding files to vault

in tree copy you could set up the automatic check in from the registry. then automatic first transition to clean all your variables. minimal effort from user pov Copy Tree is setup to clear and set these variables based on the user performing the Copy Tree and the date the file was copied. I am loo...
by starshiphalo2333
Tue Nov 14, 2023 3:09 pm
Forum: SolidWorks PDM
Topic: Setting or clearing custom property when adding files to vault
Replies: 8
Views: 1200

Re: Setting or clearing custom property when adding files to vault

The way I've managed this in the past is to have an initial state that the workflow starts in where I don't care what properties are on that file. There is an automatic transition from that initial state to the "Editable" state that wipes/sets the custom properties as needed and the "...
by starshiphalo2333
Tue Nov 14, 2023 2:13 pm
Forum: SolidWorks PDM
Topic: Setting or clearing custom property when adding files to vault
Replies: 8
Views: 1200

Setting or clearing custom property when adding files to vault

I have the Copy Tree tool setup to clear and set certain variables (custom properties) when a user copies a design. If a user does a standard 'Save As' in SOLIDWORKS, the new file(s) will get a new filename (based on Serial# counter) but custom properties carry over from the original file. There are...
by starshiphalo2333
Sat Sep 30, 2023 9:28 pm
Forum: SolidWorks PDM
Topic: PDM Print task - print all sheets at once?
Replies: 2
Views: 585

Re: PDM Print task - print all sheets at once?

David Matula wrote: Sat Sep 30, 2023 7:43 pm have you tried the regular task manager in SolidWorks.
I am not aware of a way to trigger a standard SW task during a state change. Do you know of a way?
by starshiphalo2333
Tue Sep 26, 2023 5:55 pm
Forum: SolidWorks PDM
Topic: PDM Print task - print all sheets at once?
Replies: 2
Views: 585

PDM Print task - print all sheets at once?

One of the task that we have in PDM is to print a drawing. Some of our drawings can be quite large, 10-12 sheets. These drawings can take 3-4 minutes to open and the Print task prints each sheet separately. It opens the drawing, prints Sheet 1, closes the drawing, opens the drawing, prints Sheet 2, ...
by starshiphalo2333
Wed Jan 04, 2023 6:36 pm
Forum: API
Topic: Get a count of component occurrences in an assembly?
Replies: 10
Views: 3402

Re: Get a count of component occurrences in an assembly?

Place a single "dummy" empty part in each assembly/subassembly. Give it the custom properties that you want to show in the BOM for that assembly/subassembly. Make a "Parts Only" BOM instead of indented. Ah, that would work - nice workaround. Unfortunately that's not a great solu...
by starshiphalo2333
Wed Jan 04, 2023 3:08 pm
Forum: API
Topic: Get a count of component occurrences in an assembly?
Replies: 10
Views: 3402

Re: Get a count of component occurrences in an assembly?

Does anyone know a way to do this without BOM+ ? BOM+ is a paid add-in, the BOM tools require the 500 AUD license. I basically one a flat BOM with total quantities of each component (SLDASM and SLDPRT) BOM Example: 1234B - QTY 1 -----1235C - QTY 5 ----------45332 - QTY 2 ----------32233 - QTY 1 ----...
by starshiphalo2333
Thu Oct 06, 2022 12:47 pm
Forum: API
Topic: How SolidWork records file open time?
Replies: 8
Views: 1736

Re: How SolidWork records file open time?

I add this code to my macros that I want to log/show the process time (open, save, rebuild, etc). Dim nStart As Single Dim TimeElasped As String nStart = 0 nStart = Timer '***Process/Task Code Here*** TimeElasped = Format((Timer - nStart) / 86400, "hh:mm:ss") MsgBox "This model opened...
by starshiphalo2333
Fri Sep 30, 2022 3:59 pm
Forum: API
Topic: Best method to share macros with coworkers?
Replies: 4
Views: 1115

Re: Best method to share macros with coworkers?

I haven't looked into setting this up, but this may be a good free solution. Artem has a lot of great resources available on his site. It's a custom add-in that essentially does your 3rd suggestion. https://cadplus.xarial.com/toolbar/ Yep, he has some good stuff. I am trying to keep this internal, ...
by starshiphalo2333
Fri Sep 30, 2022 11:57 am
Forum: API
Topic: Best method to share macros with coworkers?
Replies: 4
Views: 1115

Best method to share macros with coworkers?

I have a set of 10 macros that I maintain and update. Over the years, I have tried various methods to share them with coworkers. I am looking for a better way to do this, so they will easily get new macros and any updates to existing macros. Method 1: Send users instructions on how to create a macro...