Search found 24 matches
- Tue Feb 06, 2024 3:11 pm
- Forum: API
- Topic: Script Hooks to Add New Toolbox Configurations to Toolbox Part
- Replies: 0
- Views: 1338
Script Hooks to Add New Toolbox Configurations to Toolbox Part
Background : We're working our way into SW Toolbox parts. One of my people has a toolbox part defined with ~100 or so permutations in its design table. The preference internally is to completely populate the part file with all of the permutations as configurations, then release it once and be done ...
- Wed Dec 13, 2023 6:42 pm
- Forum: API
- Topic: PDM: ChangeState3 Not Accepting Pwd After Win10 Reversion
- Replies: 3
- Views: 1628
Re: PDM: ChangeState3 Not Accepting Pwd After Win10 Reversion
Tried using loginex instead of loginauto. Which worked perfectly. I mean, apart from having to hard code my password into the script. Small drawback there. EDIT: which drawback I solved by loginex'ing by using environ("username") for the userid, and the password I already had for ChangeSta...
- Wed Dec 13, 2023 4:57 pm
- Forum: API
- Topic: PDM: ChangeState3 Not Accepting Pwd After Win10 Reversion
- Replies: 3
- Views: 1628
PDM: ChangeState3 Not Accepting Pwd After Win10 Reversion
Wrote a script to automate and regularize my release of engineering orders. Pops up a form with the files on the order listed and various info to check before releasing, you enter your password, and it then promotes them all automatically with a common history message, notifies specific people, and ...
- Wed Aug 02, 2023 11:11 am
- Forum: SolidWorks PDM
- Topic: Chronic PDM Conflicts with WatchGuard?
- Replies: 7
- Views: 1486
Re: Chronic PDM Conflicts with WatchGuard?
It's affecting any files, rather than specific ones. Latest this morning: users can access files while online in PDM, as long as they don't touch the data card or the preview tab. They can check out, but not check in or undo checkout. They can work offline without trouble, and while offline can acce...
- Tue Aug 01, 2023 4:06 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
I've been doing just that, migrating myself over to VB.net (just because of the learning curve involved - I have a *lot* of practice with VBA). This print tool was the first thing I've done that way. Unfortunately, I haven't had time to do more because WatchGuard has torpedoed our entire network. De...
- Tue Aug 01, 2023 12:28 pm
- Forum: SolidWorks PDM
- Topic: Chronic PDM Conflicts with WatchGuard?
- Replies: 7
- Views: 1486
- Tue Aug 01, 2023 12:10 pm
- Forum: SolidWorks PDM
- Topic: Chronic PDM Conflicts with WatchGuard?
- Replies: 7
- Views: 1486
Chronic PDM Conflicts with WatchGuard?
We contracted with a new managed IT services company in February. They rolled out WatchGuard security to our PCs starting in March. Since then it has been non-stop random and difficult to diagnose problems with PDM. WatchGuard blocking all scripts on the network was easy to fix, but every single WG ...
- Tue Aug 01, 2023 12:04 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
A few months later, I've finally gotten my simple script to run as intended.
Three hours of initial coding got me about 90% there, the last 10% has taken three months and 40+ hours.
I'm starting to passionately hate PDM.
Three hours of initial coding got me about 90% there, the last 10% has taken three months and 40+ hours.
I'm starting to passionately hate PDM.
- Thu Apr 27, 2023 4:52 pm
- Forum: API
- Topic: iedmFile.UnlockFile says non-current user has file checked out?
- Replies: 4
- Views: 1672
Re: iedmFile.UnlockFile says non-current user has file checked out?
What I may have figured out is...kinda dumb on my part. Our company migrated to a new domain four weeks ago, right when this particular issue started. We did it in four groups over two weeks, which fits with it gradually appearing. And it fits (although it's kind of a stretch) that a change to any c...
- Thu Apr 27, 2023 4:07 pm
- Forum: API
- Topic: iedmFile.UnlockFile says non-current user has file checked out?
- Replies: 4
- Views: 1672
Re: iedmFile.UnlockFile says non-current user has file checked out?
I think I may have figured out the problem, but for completeness, here's the relevant parts of code: If Not swModel Is Nothing Then esoIsLocked = swModel.IsLocked ' -- if the model is locked, it needs to be unlocked If esoIsLocked = False Then Dim ffile As IEdmFile5 Dim pFolder As IEdmFolder5 Set ff...
- Wed Apr 26, 2023 8:09 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
BTW, the task is growing more unreliable and chaotic by the day, it seems. All the releases in the past week have had almost surreal superimpositions of geometry from views or even components not present on a sheet.
Wacky.
Wacky.
- Wed Apr 26, 2023 8:06 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
I think I found a dead-simple alternative that works. I'm teaching myself VB.NET. Discovered that there is a simple command in SW API, modeldoc2.extension .SaveAs3, which will save files to PDF. Built a small executable around it, which I'm currently troubleshooting. Basically, it takes passed comma...
- Wed Apr 26, 2023 7:52 pm
- Forum: API
- Topic: iedmFile.UnlockFile says non-current user has file checked out?
- Replies: 4
- Views: 1672
iedmFile.UnlockFile says non-current user has file checked out?
I have a VBA script which checks out a file, makes a couple changes to the references, and then checks it back in. Or, it used to. For about a year and a half. Now the file .UnlockFile command....doesn't. Script runs all the way through, but it gets to file .UnlockFile and throws the error: Run-time...
- Wed Apr 26, 2023 7:37 pm
- Forum: API
- Topic: SOLIDWORKS PDM API to get referenced files
- Replies: 2
- Views: 2035
Re: SOLIDWORKS PDM API to get referenced files
This may be useful as a go-by example. I've stripped out some of the code for anonymity, but what this does is recurses through a passed file (in our case a PDM virtual document used as an ECO) and returns three lists: the PDFs of electronic signoffs, the design change records documenting the change...
- Thu Feb 23, 2023 1:53 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
AlexL: thanks for the pointer to CustomTools (https://www.customtools.info). I'm checking them out now.
AlexB: I'll give that a try in the meantime, and see if that helps with the prior problem. That actually has been stable for a while.
AlexB: I'll give that a try in the meantime, and see if that helps with the prior problem. That actually has been stable for a while.
- Wed Feb 22, 2023 8:07 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
Resurrecting this thread... I really, really want an alternative to the convert-drawing-to-pdf task. Whether it's third party, or someone has a print -drawing-to-pdf mod that they'd be willing to share. I'm sick of the "task failed" emails coming to me on about a third of the conversion ta...
- Fri Dec 02, 2022 4:48 pm
- Forum: API
- Topic: API Access to License Manager Client?
- Replies: 4
- Views: 1244
Re: API Access to License Manager Client?
Ah, I see what you're doing. I think I can work with that. Thanks!
- Wed Nov 30, 2022 5:45 pm
- Forum: API
- Topic: API Access to License Manager Client?
- Replies: 4
- Views: 1244
API Access to License Manager Client?
We have a limited number of licenses, can't buy any more at the moment, and so occasionally have all licenses in use when someone needs one. One can go to the license manager client, see who has a license, and send them an email or chat requesting they release their license, entering each name manua...
- Tue May 17, 2022 1:36 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
We're a small aerospace company, so I gather we do things a little bit differently from other industries. Based on experience with several of the Big Aero companies, we use revisions as follows: - a model/drawing is initiated with the revision value of dash, which is interchangeably called "rev...
- Fri May 13, 2022 5:24 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
How are you putting together your file name? ... Like so: <SourceFolderPath>\<FileName> - REV <%Revision%> - <%FileState%> As I said the earlier reply, though, this part does exactly what it's supposed to do. All I need to do is replace the resulting "REV -" with "REV NEW". (If ...
- Fri May 13, 2022 5:17 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Re: Conversion Task Alternatives
... named as "PARTNUMBER-REV-A.PDF" for something that had been released with revision A. I can do this part, with our equivalent filename structure being "PARTNUMBER - REV A - RELEASED.pdf" (or IN WORK or UNDER REVIEW for the state name). Defining the filename using the output ...
- Wed May 11, 2022 12:54 pm
- Forum: CAD Admin (Install, PDM, etc)
- Topic: Conversion Task Alternatives
- Replies: 25
- Views: 6248
Conversion Task Alternatives
Does anyone know of alternatives to the conversion tasks in PDM Pro (2021 in our case) that actually work? I'm at wits end trying to get it to do a simple renaming of the output files to suit our company naming policy. It's something that the output file path template can't do (changing "REV -&...
- Sun Nov 21, 2021 12:35 am
- Forum: SolidWorks PDM
- Topic: Conditional notification option disappeared
- Replies: 2
- Views: 869
Re: Conditional notification option disappeared
Following up on this: I talked to our VAR, and they said conditional notifications disappearing is a bug peculiar to 2019 SP5. I ended up programming my own email VBS that I can execute as a command on transition. Which is a better option, as the content of the conditional notification isn't useful ...
- Fri Sep 24, 2021 11:30 pm
- Forum: SolidWorks PDM
- Topic: Conditional notification option disappeared
- Replies: 2
- Views: 869
Conditional notification option disappeared
I've been building a new workflow over the past week. In the process, I discovered conditional notifications, and added one to one of the transitions to test it out. It worked, and I decided to add it to transitions in a couple of other workflows. Only, the option is no longer there. I only have the...