Restricting your EPDM addin

EmailFacebookLinkedInTwitterShare

There are a lot of API snobs out there who feel their SOLIDWORKS Enterprise PDM code is too good to be run by just anyone, perhaps only members of a certain user group are allowed to run their precious code. Perhaps they are writing something that should only be run by administrators. I personally am a programmer for the people; but if you are related to Marie Antoinette, it is pretty easy to accomplish this act of discrimation. You include […]

Read More

Backing up a revision

EmailFacebookLinkedInTwitterShare

When you are the Data Specialist Man, the world is your stage. Here is a little excerpt from a screen play I am writing for an upcoming movie, tentatively titled: “SolidWorks Enterprise PDM – The Movie” The scene opens with our hero [me] teaching an EPDM administrator training class. [Me] Now that the file is in your “Released” workflow state, it is read only for everyone, the only way it can be changed is to push the file through the workflow again, making a new revision. […]

Read More

How to search for every file owned by any user in Workgroup

EmailFacebookLinkedInTwitterShare

Recently a customer asked me to write a routine to release ownership of every file in his SOLIDWORKS Workgroup PDM vault. I thought finding the files would be rather simple until I realized Workgroup’s PDMWSearchOptions (Workgroup’s API search function) does not support wildcard characters. While contemplating harakiri, I finally came up with this search criteria idea: objSearch.IgnoreCase = True objSearch.SearchCriteria.AddCriteria pdmwOr, pdmwOwner, “”, pdmwContains, “a” objSearch.SearchCriteria.AddCriteria pdmwOr, pdmwOwner, “”, pdmwContains, “e” objSearch.SearchCriteria.AddCriteria pdmwOr, pdmwOwner, “”, pdmwContains, “i” objSearch.SearchCriteria.AddCriteria pdmwOr, pdmwOwner, […]

Read More

LoadDraftingStandard

EmailFacebookLinkedInTwitterShare

Imagine you received a set of SOLIDWORKS drawings from an outside source. Unfortunately the people who created the drawings didn’t use your drafting standards. [The peasants!] You may be tempted to create a little macro that goes through every one of your settings, one at a time, setting user preference toggles, integer values, blah, blah… Not a bad idea, but doing this is slow, tedious and you’ll run into some “undocumented issues” that my lawyers don’t want me to get […]

Read More

Print your dwg files with EPDM Tasks

EmailFacebookLinkedInTwitterShare

Would you like to have your SOLIDWORKS Enterprise PDM 2011 tasks be able to [batch] print your dwg files as well as your SOLIDWORKS drawings? It is pretty easy, you only need to make a few changes to your Print Task’s “Advanced Scripting Options”. Click on the advanced scripting options button in the bottom of the “Files” section. Now all you have to do is find the function “bIsSupportedExtension” and replace all of it with this code: Function bIsSupportedExtension(oExtension) As […]

Read More

Macro Anyone?

EmailFacebookLinkedInTwitterShare

Last week at the Cincinnati User Group Meeting, an engineer from Oystar North America said that he downloaded a cool macro that would create multiple Isometric views.  I was able to find a site that has this macro plus others that you may find interesting.  The site is Lorono’s SOLIDWORKS Resources. Always remember that when you are using a macro, be sure to test it out before using it in production.

Read More

3DVision’s SWW Presentations

EmailFacebookLinkedInTwitterShare

Didn’t get to make the trip to San Antonio to see our SOLIDWORKS World presentations live?  Or maybe you did, but you loved them so much you want to watch them over and over again like Cosby episodes?  Well, either way, you’re in luck because all the presentations have been posted along with the file sets that went with them right here: http://www.3dvision.com/swwpresentations Enjoy!

Read More