PDM/PLM Theory Archives - Computer Aided Technology https://www.cati.com/blog/category/pdm-plm-theory/ Computer Aided Technology Tue, 06 Sep 2022 19:50:33 +0000 en-US hourly 1 https://wordpress.org/?v=6.9 Installing the SOLIDWORKS PDM Client https://www.cati.com/blog/installing-the-solidworks-pdm-client/ https://www.cati.com/blog/installing-the-solidworks-pdm-client/#respond Mon, 11 Jul 2022 21:46:15 +0000 https://www.cati.com/?p=188330 The SOLIDWORKS installation manager comes with all the SOLIDWORKS products you need – anything from PDM to Simulation – included in one convenient package. When installing SOLIDWORKS, you can be sure to include PDM at the same time! If you already have SOLIDWORKS installed and now you need the PDM client as well, you can just modify your installation to add PDM onto it without uninstalling anything or starting from scratch.

If you already have SOLIDWORKS installed:

  1. Open Control Panel (you can search “Control Panel” from your Start menu).
  2. Go to “Programs and Features”.

 

  1. Scroll down to “SOLIDWORKS 20XX SP0X” and select “change”.

 

  1. The SOLIDWORKS Installation Manager will pop up. If you receive a warning about a pending Windows reboot, you can hit “ok” and continue through. Reboot when done installing.
  2. Select “Modify your installation” and hit Next.

Graphical user interface, text, application Description automatically generated

 

  1. Your Serial Number should already be pre-filled on this page. You can leave everything as-is and hit Next.

Graphical user interface, text, application, email Description automatically generated

 

  1. On the Product Selection page, check “PDM Client” and hit Next.

 

  1. On the Summary page, hit “Change” next to “SOLIDWORKS PDM Options”.

Graphical user interface, application Description automatically generated

 

  1. Make the following selections
    • PDM Professional or Standard (if unsure, you can safely select Professional, since this will work for clients with both Professional and Standard licenses)
    • Select the appropriate license level: Editor, Contributor, or Viewer.
      • If Editor is selected, be sure to select Add-ins for the software you have installed.
      • If you’re unsure, reach out to your administrator or select “CAD Editor” and confirm after, since license type can be changed easily later.

Graphical user interface Description automatically generated

 

  1. From the Summary page, accept the terms and select “Modify Now”.

Graphical user interface, application Description automatically generated

 

  1. After installing, a reboot is recommended to ensure the installation is allowed to complete fully. You should now have the PDM client installed on your workstation while retaining your original SOLIDWORKS client and any menu customization you may have made.

If you need SOLIDWORKS & PDM:

  1. Navigate to http://customerportal.solidworks.com and log in with your account.

 

  1. If you do not have an account, select Create a SOLIDWORKS ID and register using your serial number. Once logged in, select Downloads and Updates.

 

  1. Select the year and service pack you wish to install, accept the agreement, and download the setup.

Note: This download is the setup file only so there will be additional downloading when installing the client.

 

  1. Run “SolidWorksSetup.exe” & choose to Unzip.

Graphical user interface, application Description automatically generated

 

  1. When that finishes, the Installation Manager should start automatically. Select “Install on this computer” & hit Next. If you get a pop up stating a reboot is pending, feel free to ignore it and hit “ok” to continue.

 

  1. If you previously installed SOLIDWORKS, your serial number should be pre-filled. If not, be sure to enter it in the box next to SOLIDWORKS. Expand and select any other design software you’d like to install on your machine here (like Visualize or Simulation – PDM comes later). Hit Next.

C:\Users\learly\AppData\Local\Temp\SNAGHTML439d34.PNG

 

  1. You will either be taken to a Product Selection page, or to the Summary page. If you get to the Summary page, select “Change” next to “Products”.

Graphical user interface, text, application, email Description automatically generated

 

  1. On the Product Selection page, check the “SOLIDWORKS PDM Client” box. When done, select “Back to Summary

Graphical user interface, text, application, email Description automatically generated

 

  1. Select Change next to SOLIDWORKS PDM Options (you may need to scroll down).

Graphical user interface, text, application Description automatically generated

 

  1. Make the following selections:
    • PDM Professional or Standard (if unsure, you can safely select Professional, since this will work for clients with both Professional and Standard licenses)
    • Select the appropriate license level: Editor, Contributor, or Viewer.
      • If Editor is selected, be sure to select Add-ins for the software you have installed.
      • If you’re unsure, reach out to your administrator or select “CAD Editor” and confirm after, since license type can be changed easily later.

Graphical user interface, text, application, email Description automatically generated

 

  1. Finally, return to the Summary page and select Install Now. You may be prompted for a license server that should be entered in the format 25734@<server name>.
    1. If you’re unsure of your license server, reach out to your administrator.

 

Creating a Vault View:

  1. Open your Windows Start menu, find the SOLIDWORKS PDM folder, and select View Setup.
  2. Select Next > to bypass the Welcome screen.
  3. In the next screen, your server name may show in the white window.
    • If it does, select it.
    • If it does not, select the Add button at the bottom of the menu to manually add it.
  4. Once the server is added, check the box to the left of the server name and select Next >.

 

  1. Check the box next to the vault you would like to add a vault view for and select Next >.
    1. If it is grayed out, try following the troubleshooting steps according to the error messages listed in this related article.
  2. Set the file location. It is strongly recommended that all users put it in the root of the C or data drive.
  3. Finally, select the option to create the view “For all users on this computer”, if available. Select Next > and then Finish.

Graphical user interface, text, application, email Description automatically generated

Note: Only for me should only be selected if the user does not have administrative rights on their machine. It will become apparent if the vault view fails to complete. In this case, users must place the vault view in their Documents folder or a folder created on the C: drive and select the Only for me option.

Rowan Gray
PLM Support Team Lead
Computer Aided Technology

 

]]>
https://www.cati.com/blog/installing-the-solidworks-pdm-client/feed/ 0
Empowering Innovators for 30 Years https://www.cati.com/blog/empowering-innovators-for-30-years/ https://www.cati.com/blog/empowering-innovators-for-30-years/#respond Wed, 08 Jun 2022 14:04:51 +0000 https://www.cati.com/?p=187301 This year marks an important milestone for Computer Aided Technology (CATI)

It is our 30th year in business. We would like to thank our clients for supporting CATI over the last three decades. Without you we wouldn’t be able to celebrate this incredible achievement.

Over the course of the last 30 years, our business has grown along with our clients’. When we started out in 1992, our goal was do things differently than others in our space. We wanted to build a company that was rich in culture and focused on doing what is best for our clients – and have fun in the process. To this day, that is still part of the CATI culture – work hard/play hard while doing what is right for our clients.

In 1995, what started as a handshake agreement to be the first provider of this revolutionary new CAD system called SOLIDWORKS, turned into a passion and dedication for helping to advance engineering and manufacturing. That journey continues today.

That relationship with SOLIDWORKS has helped CATI move forward from a VAR (value added reseller) to a true product development solutions provider. Our partnership with SOLIDWORKS and Dassault Systèmes is as strong as ever. Over the years, we expanded our portfolio beyond SOLIDWORKS and CAD.  That portfolio now includes a complete start to finish solution for product development. From 3D printing and scanning to data management and advanced simulation, to partnerships with Stratasys and Creaform, we have the right tools and relationships in place to empower our clients to be innovators.  Those powerful best in class tools combine with our proprietary services and support to assist customers across the entire nation (and even a few international sites) solve their product development challenges.

We can’t wait to see what the next 30 years has in store for CATI and our clients.

]]>
https://www.cati.com/blog/empowering-innovators-for-30-years/feed/ 0
The Benefits of SOLIDWORKS API and SOLIDWORKS PDM API https://www.cati.com/blog/the-benefits-of-solidworks-api-and-solidworks-pdm-api/ https://www.cati.com/blog/the-benefits-of-solidworks-api-and-solidworks-pdm-api/#respond Wed, 20 Apr 2022 22:41:45 +0000 https://www.cati.com/?p=176384 The API for SOLIDWORKS and PDM can provide a huge number of optional benefits. This is a Q&A style article intending to walk the average person through the otherwise broad and complicated topic. I’ll start from the beginning by explaining what it is and provide some examples. Then move through to best use cases and suggestions for refining your need into a program. And if you need further help or suggestions, we have an experienced development team at CATI dedicated to creating custom applications for our customers.

 

What is SOLIDWORKS API and what can it do?

The SOLIDWORKS API, or Application Programming Interface, allows the automation of repetitive and tedious tasks within SOLIDWORKS. Custom applications using the SOLIDWORKS API can be as simple or as complex as desired, for instance, the API can be used to create simple macros. Macro’s, at their core, are just a preprogrammed sequence of events. Sequences of mouse clicks can be recorded and automatically inserted into a new macro by using the SOLIDWORKS macro recorder. Simply start the recorder and then perform the set of actions you’d like repeated. That will produce a very simple VBA macro that can be replayed at any time.

More functionality can then be added to a macro by editing it in the built-in VBA macro editor. All sorts of things can be added, including logic and intelligence, prompts to the user to send warnings and other information or to gather user input and selections. SOLIDWORKS Standard, Professional, and Premium all come with the ability to use, create, and modify macros.

It is also possible to create more complex applications by using C#, VB.net, or C++. These programming languages can be used to create custom add-ins and stand-alone applications that can launch and run SOLIDWORKS without a user’s interaction. See below for an example of a custom SOLIDWORKS add-in.

 

Ok, but can you be more specific about what the API can do?

The API can be used for anything that can save a designer time. It can also be used to accomplish things that normally could not be done by SOLIDWORKS. Such as inserting a user coordinate system at a specified X, Y, Z location or setting a file to automatically perform additional actions whenever the model is rebuilt, such as updating a general table. Other interesting ideas are adding a watermark or some visible label to a part model that cannot be deleted or removed. BOM tables can be exported to CSV or Excel. Custom properties can be populated from an Excel spreadsheet. And the list goes on.

It is important to note that SOLIDWORKS macros are based on VBA. This is the same language used by Excel. So, if you have ever made an Excel macro, the concept is the same in SOLIDWORKS. The main difference is that SOLIDWORKS has its own set of API calls (contained within a VBA reference library) that are used to interact with SOLIDWORKS, just as Excel has its own set of calls for interacting with spreadsheets.

Creating your program as an add-in instead of a macro can provide several benefits. For instance, they can be more stable, run faster, and be more reliably updated for new releases of SOLIDWORKS. Also, some things just work better as an add-in. The downside for many is that they take more programming experience to create, and the upfront effort is greater.

 

When should I consider turning to the SOLIDWORKS API for a solution?

The best use cases for creating an application using the SOLIDWORKS API are:

  1. Performing repetitive or tedious tasks.
  2. To perform an action or series of actions that are not available inside the SOLIDWORKS or PDM user interfaces.
  3. To save money by not having to manually do all of the above every day, one click at a time.
  4. Eliminating user error by automating tasks.

 

You said something about automating SOLIDWORKS PDM?

SOLIDWORKS PDM has its own API, and it’s just as powerful as the SOLIDWORKS API. The main difference is that there are no PDM macros. There are only add-ins and stand-alone applications. This means it must be programmed using C#, VB.net, or C++ (no VBA).

Since PDM is focused on file management, references, and tracking data, most custom applications for PDM also focus on those areas. They can manage file references, check things in and out of the vault, send custom notifications, and manipulate data card properties (and much more).

Another great thing, is that custom tasks can be set up for users to run on-demand or can trigger automatically on workflow transition (hopefully you are familiar with PDM workflows?).

Some add-ins are what I call ‘hybrid’ add-ins. These are add-ins in PDM that are designed to utilize both the PDM and SOLIDWORKS APIs. With these, PDM can automatically open files in SOLIDWORKS and perform specific actions. And it can use the information in PDM to determine which files to process. Information PDM can use include bills of materials, where used lists, file references and data card variables.

This section probably deserves its own blog… there is a lot I could write about here.

 

Ok, I have an idea! …now what?

Planning out your custom application is one of the most important steps – aside from actually getting it working! The first thing you need to do is describe what you want this program to do and write it down. Writing it down will force you to actually define it as opposed to just having an idea in your head that can change over time. It is very important to have a targeted goal in mind, even for the simplest of macros.

The 2nd thing you should do is build an outline. Ok, this is something you can maybe skip if you are just building something quickly or it’s only for yourself. Overall, it’s a little bit like writing a paper. Pick a topic, write a summary, then outline what the program should do. Use plain English and write down step-by-step what the application will do. This will also help when a year from now you’re trying to remember what this thing does.

Here is an example:

Summary: A SOLIDWORKS Add-in, that on the click of a button, will use the value of an existing custom property as the basis for a SQL query in a custom database. It will then use the returned string to automatically create 2 new custom properties in the currently open SOLIDWORKS part file.

Outline:

  1. The installed custom SOLIDWORKS add-in will have 1 icon.
  2. The add-in will only run on the currently open and active SOLIDWORKS part file.
  3. A configuration file will hold the custom property name, SQL query, and SQL connection string.
  4. The user must fill in the source custom property before running the add-in.
  5. Clicking the button will read the active document’s custom property value and run the SQL query.
  6. The values of 2 custom properties are filled in using the information returned by the SQL query.
  7. The custom properties will be created if they do not already exist.

In this case, the application was designed as a SOLIDWORKS add-in and would be written in C# programing language. This would allow for better handling of the SQL query than is available using VBA macros.

As you may have noticed, something like this could also be used for ERP integration. A full solution would need to be able to push information to the SQL database instead of (or in addition to) pulling from it.

 

But I’m not a programmer, can I just have someone make me whatever I want?

Yes! …provided it is possible. CATI has an amazing development staff that is ready to help. Our developers have been programming custom applications for decades. We would follow the same basic process I’ve already discussed, starting with what do you want to accomplish? Can any of it be done already with out-of-the-box functionality in SOLIDWORKS or PDM? Then we’ll help to refine your need and can get started building it for you.

 

Any recommendations on SOLIDWORKS API design?

The API is an amazing tool to help your designers and potentially other departments in your organization. The API is not intended to replace your designers, it is intended to increase their productivity. I usually recommend starting with one main goal for automation and then if you need more, to grow it from there. Many people try to put too much into an application at once and the scope can either grow out of control or never get finalized. It is often easier to pick a starting point, use it for a while to figure out if there are any other enhancements you would like made, and then do both the enhancements and additions at a later time.

I hope this has helped clear up what the API is and how it could benefit you. It has so much flexibility, if you are looking for more information, the online help files are available here: Welcome – 2022 – SOLIDWORKS API Help.

Regards,

 

Joe Phillips
Application Engineer II
Computer Aided Technology

 

]]>
https://www.cati.com/blog/the-benefits-of-solidworks-api-and-solidworks-pdm-api/feed/ 0
The Future Is FLEXIBLE: Data Management with 3DEXPERIENCE https://www.cati.com/blog/the-future-is-flexible-data-management-with-3dexperience/ https://www.cati.com/blog/the-future-is-flexible-data-management-with-3dexperience/#respond Fri, 08 Apr 2022 21:29:56 +0000 https://www.cati.com/?p=175588 There’s a phrase “the cost of doing business”. Generally, that refers to whatever costs you incur while running a business. Makes sense, right? Well, yes, but it’s not static – let me explain. We’re so ingrained in our ways that we think there’s one good way to do something. Case and point, remember Blockbuster? It used to be how we rented movies for Friday night. 20 years ago, nobody could imagine that anything would kill such a thriving business. Now, we sit on our couch and scroll for 15 minutes on Netflix, only to settle on rewatching the same rom-com for the sixth time.

The point is, “cost of doing business” isn’t a constant, it’s a variable. Today, most people store their files on their desktop or a local server, but more and more companies are moving to the cloud. This wave is shifting the paradigm once again, and the 3DEXPERIENCE Platform is leading the charge. By offering companies flexible data management, it becomes easier to get what you need, while staying ahead of the curve.

What Is the 3DEXPERIENCE Platform?

3DEXPERIENCE 3D Product Architect 3DEXPERIENCE NC Programming  3DEXPERIENCE Electromagnetics

We’ve covered this on other pages, but simply put, the 3DEXPERIENCE Platform is another way of storing, managing, and sharing your data. It’s a cloud-based environment, meaning you don’t have to buy or maintain any pesky servers. It also means you can access your data from anywhere, at any time.

This is powerful! It also gives businesses more flexibility with how they work and how they license each employee.

Easy Access from Anywhere with 3DEXPERIENCE

Flexible business is the name of the game. For the past two years, we’ve all worked remotely, only emphasizing its importance. The 3DEXPERIENCE Platform enables flexible data management with global access to the data you need from any device. What’s more, you don’t even need a VPN.

One of the core complaints I get when talking about an on-premises data management solution, like SOLIDWORKS PDM, is access for multiple locations. PDM Standard doesn’t allow for replication, and even Professional requires some kind of connection between the locations. Typically, this takes the form of a VPN, but IT doesn’t love setting them up. For one, they aren’t as fast as a local network. Those remote workers are farther away, so it takes longer to get the data they need. They also aren’t as secure. VPN provides another access point that someone could try to exploit. Nobody wants that, so IT is right to be wary.

Licensing Gives You Flexible Data Management

Get only the licensing you need with flexible licensing on the 3DEXPERIENCE Platform.

Do you do the exact same work as the person sitting next door? Probably not, right? Then it doesn’t make sense that each of you would have the same licenses. Think about it, you may be creating a bill of material for an order. The person next door might be working with filling out change request forms. In PDM, that’s a contributor, but now I have to manage them in separate groups. We can share a license, but it’s more work on the administrator than it should be.

With the 3DEXPERIENCE Platform, there’s no need to worry about groups for users. Now, we have licenses for every kind of task that you want to do. Of course, SOLIDWORKS and CATIA CAD is front of mind for most engineers, but we have options for rendering, structural analysis, NC programming, advanced PLM, and so much more. By letting everyone get the license they need for their specific tasks, there’s no more worrying about having enough licenses and wondering if you have what you need to do your job. Now, everyone accesses the Platform through the same location and goes on their way.

The Shift Is Happening

No, on-premises data management isn’t going to go away anytime soon. Many businesses have too much invested in the hardware, and some are cautious about moving data to a location that isn’t 35 feet away from your feet. However, the shift is happening. Every day, I talk with customers about how they manage their data, and a cloud-based solution always comes up.

The shifting paradigm from mostly on-premises to a cloud environment opens a world of possibilities for flexible data management. The added geographical flexibility is key when employees aren’t always in the same place. This makes collaboration and general data sharing easy and secure. Additionally, “only what you need” licensing means everybody gets what they need to do their job; no more, no less. By embracing the changing environment, we can get ahead and be more productive, while our competition is stuck wandering the isles of the nearest Blockbuster.

Cloud PDM Changes the Game!

…and 3DEXPERIENCE, from the makers of SOLIDWORKS, is here to make it happen.  Learn more about the how and why of cloud PDM here.
Explore Cloud PDM Today

Nick Sweeney
PLM Applications Engineer
Computer Aided Technology

 

]]>
https://www.cati.com/blog/the-future-is-flexible-data-management-with-3dexperience/feed/ 0
SOLIDWORKS PDM Local View Essentials https://www.cati.com/blog/solidworks-pdm-local-view-essentials/ https://www.cati.com/blog/solidworks-pdm-local-view-essentials/#respond Mon, 07 Jun 2021 23:26:30 +0000 https://live-cati-marketing.pantheonsite.io/blog/solidworks-pdm-local-view-essentials/ What Is a SOLIDWORKS PDM Local View?

The blueberry is your gateway into SOLIDWORKS PDM.

Your SOLIDWORKS PDM Local Vault View is an application mechanic that acts as a “gateway” to accessing your vault and its files.

After you install SOLIDWORKS PDM, you still need to setup a Vault View in order to access your vault(s). One thing to note is that you do need to install local views for each vault on your server. This is because you control each vault separately because they are separate entities. Basically, this ensures managed control of files in a secure location. Additionally, you manage each vault individually regarding permissions and objectives.

A local view appears to be a Windows shortcut with an PDM icon, sometimes affectionately called a “blueberry”.

This icon is more than just a software shortcut. It’s a secured folder structure that functions as a workspace, or cache, for the user when they check out and make changes to files. This local view lets users make controlled changes on a local file while still storing all versions of the file on a secure server.

A vault allows users to access a vault while having a singular place for all of their locally cached vault files to be stored and kept safe & secure.

How to create a Local Vault View:

Setting up your SOLIDWORKS PDM Local View starts by clicking View Setup.

  1. Go to the Windows Start menu, find the SOLIDWORKS PDM folder, expand it, and select View Setup.
  2. At the Welcome screen, click Next.
  3. On the Select servers screen, select archive servers from the list and click Next .
  4. You can manually add your archive server if it isn’t listed. Click Add, and in the Add server manually dialog box, enter the server name and port. Click OK and click Next.
  5. If prompted for log-in information, ask your administrator for permission to add file vault views – called “Attach Access”.
  6. On the Select vaults screen, select vaults from the list, and click Next.
  7. In the Select location dialog box:
  8. Under Attach location, browse to a location on your local machine for the file vault view.
  9. Under Attach type, select one:
  10. Only for me for a version that is only accessible to you.
  11. For all users on this computer when you are working in a terminal environment.
  12. Click Next.
  13. Click Finish and then Close.

Windows Explorer shows the local vault view as a folder with a vault icon.

The icon appears in two places:

  • In the location you selected in step 8.
  • In the Favorites list at the top of the navigation pane.

Common Vault View Issues and How to Fix Them:

Vault is grayed out during setup, status “Attached”

When you try to set up a local view, you might see a message that the vault is attached.

The PDM vault name is grayed out during a ‘View Setup’ dialog when the local view already exists.

The vault view is usually on the C: drive. However, if it’s not there, you can find the vault view location by opening Windows Registry and checking some registry keys:

  • HKEY_CURRENT_USER\Software\SolidWorks\Applications\PDMWorks Enterprise\Vaults\[VAULTNAME]

Take a look on ‘ShellRoot’ key – it contains path to private vault view. If ‘ShellRoot’ is absent here, then it means a SHARED view was created, and you’ll have to check this path instead:

  • HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\Databases\[VAULTNAME]

Take a look on ‘ShellRoot’ key – it contains path to shared vault view.

Vault is grayed out during setup, message “Attached: Missing Information”

Your local view setup might show a vault as attached, but it could be missing information.

“Attached: Missing Information” normally means that there is some view information left in the Windows Registry after the attempted removal of a prior iteration of this vault view. You’ll just need to delete it and run the “View Setup” afterwards.

When you remove a view, the following Windows Registry keys shouldn’t exist. However, if they do, you can right-click and delete them.

  • HKEY_CURRENT_USER\Software\SolidWorks\Applications\PDMWorks Enterprise\Vaults\[VAULTNAME]
  • HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\Applications\PDMWorks Enterprise\Databases\[VAULTNAME]
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SolidWorks\Applications\PDMWorks Enterprise\Databases\[VAULTNAME]

Note: You may also need to check for those keys under the HKEY_CURRENT_USER path. The rest of the path (SOFTWARE\SolidWorks\… etc) will remain the same.

Once you remove any remaining keys, you should be able to re-open “View Setup” and run normally.

When deleting a Local Vault View, the warning “The view was created by ‘[system\user]’. Only ‘[system\user]’ or an administrator can remove it” appears.

Sometimes this is caused by a Windows profile other than the currently logged in one having created this vault view. If being logged in as the user listed in the warning or as an administrator still will not let you remove the Local Vault View – there might be some information incorrect or missing from the local view “desktop.ini” information file, preventing the removal.

To successfully delete the file vault view, you can just turn it into a “regular” Windows folder and delete normally.

  1. Open a command prompt as an Administrator. Go to the Start menu, type cmd, right-click cmd.exe and select “Run as administrator”.
  2. Step into the (hidden) local view root folder by typing ‘cd c:\nameofview’ and hit Enter. Don’t include the single quotes.
  3. Change the attributes on the desktop.ini file to that of a regular Windows folder by typing ‘attrib –s –h –r desktop.ini’, and hit Enter.
  4. You can then close command prompt and delete the folder as you would any other.
]]>
https://www.cati.com/blog/solidworks-pdm-local-view-essentials/feed/ 0
Large Archive Servers in SOLIDWORKS PDM https://www.cati.com/blog/large-archive-servers-in-solidworks-pdm/ https://www.cati.com/blog/large-archive-servers-in-solidworks-pdm/#respond Fri, 11 Jun 2021 19:16:41 +0000 https://live-cati-marketing.pantheonsite.io/blog/large-archive-servers-in-solidworks-pdm/ You might notice that Archive Servers balloon pretty quickly. Ever wonder why that is? Well, the archive server stores ever version of every file in SOLIDWORKS PDM. So, if you have a file that has 15 versions, there are going to be 15 individual files in the PDM archive. As you add more and more files, that archive will grow and grow. As you can imagine, it becomes pretty important to know how to work with large archive servers in SOLIDWORKS PDM. Let’s talk about exactly that. First, we’ll define what would be a large archive database. Then, we’ll introduce a few methods you have that can help keep the archive at bay.

Defining a Large Archive Server

How to check if you have a large archive server

No, 50GB is not a large server. Also, no 100GB is not a large server. Or maybe that is large. My definition of a large archive server may be different than your definition. What we’re going to be discussing is how to handle whatever you define as large. For me, I generally would consider “large” as 250GB or larger. The trick is knowing where to find that information. Well, it’s easier to find than you think.

To figure out the size of your archive server, go to the following folder path on the archive server machine:

  • C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS PDM\Data\[VAULT NAME]

This path does assume you’re using the default file path. If your administrator distributed the archive (more on that later) or if it’s not local, check out this help file from SOLIDWORKS.

All you have to do is right-click on the vault name folder and select Properties. Now you have a view of roughly how many files are in your vault as well as the size. I say roughly because this includes all history as individual files. Additionally, there could be other files for formatting that you wouldn’t include in a file count.

Now that we’ve defined a large server, what can you do to manage it? In a dire situation, you can always move your file archives to a new server. You may want to do this when you’re just out of space, maybe have an older machine, and want a fresh start. However, not everybody has the resources or desire for setting up a new server. Instead, let’s talk about how we can manage a larger file archive.

Managing a Large Archive Server

Distributed File Archives

My SOLIDWORKS PDM environment is not the same as yours. My archive server might be 10TB (it isn’t) and yours might be 100GB. So it’s important that you maintain the data. In some instances, maintaining that data means distributing the archive to multiple drives. These drives could be additional drives on the same server or somewhere else on your domain. So, if you’re running low on space, this could be an appealing option for expanding your system.

To activate distribution, start in the archive server configuration tool. Once there, right-click on your vault and select Relocate.Right click on your archive server and select the relocate option

Now, you’ll see a dialogue outlining your current allocation of the vault. If there’s no distribution, you should see something like this.

I do want to note that your smallest possible vault fragment is 1/16th of the vault. So no, you can’t have 100 different drives with each having 1% of the vault.

What you can do here is add more drive locations for the archive server to save files. As I said earlier, these drives can be anywhere that you have access to. I would recommend that these drives stay local to that server for performance reasons. Moving the drive farther away means more data users have to pull over the network. Keeping everything on the same intranet will give you better performance when getting your files.

Distributing the archive across multiple drives is a great way to make sure no one drive gets overloaded. But you might not have access to multiple drives and want to compress what you can. For that, we want to take a look at activating compression on the Archive Server.

Activating Compression

As I mentioned at the top, the archive server keeps every version of a file. But sometimes having every version active at the same time doesn’t make sense. Think about it; I have 32 versions of an assembly going back 3 years. How often will I access version 3? Likely not all that often. So what can we do to manage that? Well cold storage is a great tool for moving or deleting old versions from the archive server. That’s one thing you can do to pair it with distributed file archives, but what if you only have one drive dedicated to PDM?

That’s where activating archive compression comes in. Justin Webster wrote a blog about that exact thing a few years back and it’s a great resource to learn more. Let me give you the high level overview. Archive compression isn’t activated by default. Instead, the server keeps every file at full size. So, by turning on compression, PDM will compress every version of a file that isn’t the latest version.

What this does for you is it keeps the latest version in an optimal format for use. It also makes sure that you don’t lose older files or move them someplace that’s difficult to access, like Cold Storage might. Everything stays on a single server for easy access. When you want to grab an older file, the archive server decompresses the file and you access it like normal.

Next Steps

There are steps to work with large archive servers. Some people get 10TB hard drives to make sure they never run out of space. Others, however, may not be so lucky. So to help reduce the need for insanely large hard drives, there are a few things we can look into.

If you have enough space on your server, no need to rush into compressing or distributing your archives. However, planning ahead can make sure you don’t run into any problems in the future. For some people, the future is now. So what can you do to minimize your vault impact? If you can, work out a plan to distribute your files across multiple drives. Ensure those drives are on your local network and they can handle the load from the archive server.

An additional step you should look into is compressing your archives. Compression works on every file in the archives that’s not the latest version, ensuring you don’t lose time getting compressed files. This is a great option to minimize the impact each file has on the storage space. There are a few high-level configuration steps, so understanding what each section means can improve your configuration.

]]>
https://www.cati.com/blog/large-archive-servers-in-solidworks-pdm/feed/ 0
Working From Home – SOLIDWORKS PDM https://www.cati.com/blog/pdm-working-from-home/ https://www.cati.com/blog/pdm-working-from-home/#respond Thu, 04 Mar 2021 19:15:21 +0000 https://live-cati-marketing.pantheonsite.io/blog/pdm-working-from-home/ Covid-19 changing the way we work

With the Covid-19 pandemic reaching far and near, many of us have resorted to working from home at times. A convenience for many, but it has had its struggles. As we all have experienced by now, children tapping us on the shoulder during meetings, the dogs barking, an occasional cat walking in front of a camera, and of course the dreaded latency of not being on that super fast local network at the office! Many customers don’t realize that when we are challenged with working from home, there are some options we should consider at a minimum to improve our experience within the SOLIDWORKS PDM arena.

Some of these options are a must do when working from home, think of them as saving some of the bandwidth that we are all struggling for during this time.

Turn off the PDM Add-In

Disable the PDM Add-In entirely and perform Check Ins and Check Outs from the Windows Explorer Vault View. It takes time to load the add-in and, as we’ll talk about later, this will help PDM from talking to the server more than you need it to. When you’re working from home in PDM, every second counts.

When working from home with SOLIDWORKS PDM, make sure you look into turning off the SOLIDWORKS PDM add-in

But, if you’re a hardcore SOLIDWORKS user and just can’t live without it, at a minimum – Disable automatic updates in the PDM add-in within SOLIDWORKS

Change your PDM settings when working from home by going to Tools, SOLIDWORKS PDM, and Options.

Make sure that if you leave the PDM add-in on while working from home that you at least reduce how often components are updated

Plug it in

With the advent of so many newer, low-cost routers, and their ever improving antenna systems, it’s all too easy for us to work at the kitchen table, or the quiet den, or maybe that hideaway man cave in the basement. But be careful, is that WiFi signal really as good as you think? PDM by nature is a very “chatty” application and is designed around the use of a wired LAN. Contrast that with the fact that Wi-Fi is not reliable and is very “dynamic” or “varies” based on many factors, and you can see a problem. Follow these simple steps to make sure you’ll have a good, stable connection:

  • Use a CAT5e rated or better RJ-45 cable
  • Directly connect to your home router
  • Turn off your computer’s Wi-Fi

 

Avoid large tasks through VPN

Avoid performing large tasks that require a consistent and reliable connection for a long period of time.

For example:

  • Refrain from moving large folders or file sets with references
  • Mass check in of files
  • Mass check out of files
  • Deleting a large file set

Save those big tasks for that day or two of the week you get to go in the office. Remember when going into the office seemed like a chore? Now it’s almost like a vacation!

Think about working offline

For those of us with less than stellar connectivity, think about working offline if you’re working from home. With PDM that is almost as easy as a click of the mouse. BUT, it takes a little bit of pre-planning for it to be a smooth effort when you’re working from home.

Use work offline mode with SOLIDWORKS PDM when working from home for better performance with your files               

Notice some column information missing? When working off line we don’t have the luxury of seeing all that meta data typically seen in our column sets when we are connected to the “PDM database”.

Because of this, working off-line requires some pre-planning.

  • Files should NEVER be renamed when in offline mode.
  • As for new files, they will have to be added to the vault manually after going back into online mode.
  • This type of effort usually works best if you have a very specific project or design you’re working on.
  • You must cache all referenced files you will need to access when disconnected.
    • This can be accomplished by selecting a folder (or individual files) and choosing Get Latest Version.

Get the latest version before starting to work from home with PDM to make sure you cached the files you need.

Remember to also, check out any files you are going to edit before you go offline. When you disconnect by choosing Tools > Work Offline the Explorer will close and when you reopen it, the vault folders will be blue instead of green.

Back to that missing metadata.

The system won’t have access to the “PDM database” so the Columns view, Data Card, Bill of Materials, Contains and Where used tabs will be empty.

You might notice your PDM columns look different when working from home. That's because PDM can't connect to the database when it's offline.

Because of this, think about doing a search that includes the files you will be working with whether checked out or not and save the results.

A quick click of the open search results icon and….

Save your search results as Excel when working from home so you can still find what you need.

Now you can search your results file with Excel to possibly gain useful information while working offline. Don’t forget to save them to a handy location once you have them open in Excel!

When you are ready to reconnect, you can go to Tools > Work Online and the folders will return to green and you can check in your modified files.

When you're done working from home, go back online by selecting "work on-line"

Is Web2 for me?

For some, a more casual need to connect to PDM is needed. Web2 might just be the tool for you! Web2 is an excellent method of connecting to your PDM environment from mobile devices for simple viewing and approving of files. It also works well if you are a vendor/supplier needing light duty access.

The SOLIDWORKS PDM Web2 client makes working from home or another device easier. The Web client gives you access to files to see them from anywhere with internet.

It requires no client-side installation of PDM, and supports all major web browsers. However, it will require your IT department to setup some Microsoft IIS requirements for hosting.

There is an excellent recording of our recent webinar about using web2: https://youtu.be/LaoCzSZP9VA

All in all, working from home can be a pleasurable experience, distractions included. Just remember, when you’re working from home and using SOLIDWORKS PDM, there are several options to support your needs to have a healthy and productive connectivity to your data.

]]>
https://www.cati.com/blog/pdm-working-from-home/feed/ 0
SOLIDWORKS PDM in the Cloud https://www.cati.com/blog/solidworks-pdm-in-the-cloud/ https://www.cati.com/blog/solidworks-pdm-in-the-cloud/#respond Tue, 02 Mar 2021 20:35:09 +0000 https://live-cati-marketing.pantheonsite.io/blog/solidworks-pdm-in-the-cloud/ Increasingly, transitioning to the cloud is becoming the new norm. Today, there are a number of pain points that push for this transition. For example cloud hosting provides better backup solutions, out of office collaboration, outsourced maintenance and/or outsourced work. Whichever situation you find yourself in today, we are here to help! Of course, SOLIDWORKS PDM needs to be installed on a Windows Server Environment and that has always been associated with ON PREMISE. However, let me debunk that myth for you. Are you ready? Let’s talk about a SOLIDWORKS PDM cloud-hosted server.

Server & Cloud don’t go together, right?

Yes, they do! First of all, it’s easy to obtain a cloud hosted server through any number of providers today. InFlow has partnered with Advance 2000 to provide customers with industry leading hosted services technology. Further, SOLIDWORKS PDM doesn’t really care or know if you’re hosting the server in a data center or a closet. Therefore, if your current business case calls for it, we can recommend looking into this solution. Finally, we also welcome customers with their own cloud hosted solutions (i.e. Azure or AWS hosted environments).

Infrastructure

Repeatedly, I have seen hesitation and fear surrounding cloud hosted server infrastructure. Over time, I’ve learned that this isn’t something you should be afraid of. Let’s dive a bit deeper and investigate three major components involved with cloud hosting:

  1. Location, location, location! Where you are located has a huge effect on the system overall performance. Thus, some of the larger providers have data centers scattered all around the globe to serve this purpose better.
  2. Setup! This is another major factor that affects cloud-hosted environment performance. Let’s investigate a couple of different cloud-hosted server setups to get a better understanding on this topic.
  3. Support

EX1: Cloud Hosted Server + SOLIDWORKS PDM

SOLIDWORKS PDM Cloud Hosted ServerData Center: This is the main location where your data is stored. Usually, the cloud-hosting provider owns this.

Office: This is the main office location, where most users work and access the vault.

User at home: This category is growing significantly. Today, more and more users are working from home.

Site-to-site VPN: This is a permanent connection between the cloud hosted server and your office. IT encrypts this connection between the two locations. It’s much more robust (and faster) than regular remote access. Typically, it is setup as an IPsec connection.

VPN: A secure connection between user machines and their office server.

If needed, you can make a connection from end users directly to the cloud hosted server. There are several factors dictating this situation. Please reach out to InFlow or your account manager with any questions.

EX2: Cloud hosted server + SOLIDWORKS PDM + Archive Replication

Cloud hosted server with a replicated archiveData Center: Main location where your data is stored, it is usually owned by the cloud hosted service provider.

Office: Main office location, where most users work from

Office 2: Secondary office location.

User at home: This category has been growing significantly, more and more users are working from home today.

Site to site VPN: Permanent connection between the cloud hosted server and your office. IT encrypts this connection between the two locations. It is much more robust and faster than regular remote access. Typically, it is setup as an IPsec connection.

VPN: Secure connection between user machines and their office server.

PDM Replication: Access the SOLIDWORKS help site for more information on SOLIDWORKS PDM Archive replication.

If needed, you can create a direct connection between end users and the cloud hosted server. This is usually dictated by the current customer situation and is influenced by many different factors. Please reach out to InFlow or your account manager with any questions.

Support

Let us get the elephant out of this room, shall we? Unfortunately, due to the high number of variables surrounding cloud hosted solutions, SOLIDWORKS doesn’t fully support every cloud environment. Let me explain what this really means.

If software issues arise on an installation that utilizes these environments, SOLIDWORKS and Computed Aided Technology will attempt to reproduce the issue on a supported environment. If validated, we will pursue a solution just like any other support case. However, if we determine that the issue isn’t related to SOLIDWORKS and SOLIDWORKS PDM, we’ll to the best of our ability, convey this information to you.

Key Takeaway

In this blog, we discussed how SOLIDWORKS PDM can be used with cloud hosted servers. We also talked about the benefits and situations that might make you think about using SOLIDWORKS PDM on a cloud environment. Finally, we discussed a couple of different ways you can use a cloud-hosted service to host your current environment. We always want to help you find the right solution that fits what you need. If a cloud hosted solution is something you want to look into, please reach out to InFlow and Computer Aided Technology. We’re happy to answer any questions you may have about it.

]]>
https://www.cati.com/blog/solidworks-pdm-in-the-cloud/feed/ 0
How to make PDM Pro’s Dispatch share files https://www.cati.com/blog/how-to-make-pdm-pros-dispatch-share-files/ https://www.cati.com/blog/how-to-make-pdm-pros-dispatch-share-files/#respond Wed, 02 Sep 2020 19:00:55 +0000 https://live-cati-marketing.pantheonsite.io/blog/how-to-make-pdm-pros-dispatch-share-files/ Shared files in PDM give you the ability to have the exact same file exist in multiple folders. This is a handy way of sharing files without making copies. Below is a procedure to have SOLIDWORKS PDM Pro Dispatch create shared files automatically for you.

How it works – behind the scenes

[Warning: in this section I do get into some code writing. You don’t really need to know any of this to make it work in your Dispatch. If you just want to make it work, skip to the next section.]

Dispatch doesn’t have a “share file” command. However, it does let us to run our own custom code with the shell command. I haven’t found a limit to the amount of text you can add to the shell command, so we have lots of options.

Here is the PowerShell code that we’ll have the shell command execute:

PowerShell code

  • Line 1 creates a PowerShell variable containing the PDM vault object.
  • %NameofCurrentVault% is a Dispatch variable. Dispatch will replace the variable name text with the name of the vault.
  • %SharedFolder% is the name of the custom variable that you will create below. This line creates a PowerShell variable that contains the object of the target folder for the shared file.
  • %PathToSelectedFile% in line four is also a Dispatch variable, it is the name of the file the Dispatch routine is working on. You’ll notice GetFileFromPath it is using the $folder variable as its second parameter. PowerShell requires that you declare the second parameter as a folder object. So, I am using the same $folder variable as defined in the previous line. Since PowerShell passes GetFileFromPath’s second parameter by reference, you would expect the $folder variable value to update to a new value after that line is run. However, since I don’t have a “[ref]” prefix in front of the variable, the variable remains unchanged. This is good because I don’t need the file’s folder anyway.
  • At this point I have all I need to share the file. Line three defines the folder, the file in line four. The AddFileShared function in line five is used to actually create the shared file.

Take this code and combine all five lines into one, separated with semicolons. Then, tell the shell execute command you want to run the code with PowerShell by putting the word “PowerShell.exe” at the beginning of the line and put all of the code inside of double quotes.

Implementation

First, in Dispatch, create a new administrative action. Next, create a custom variable named “SharedFolder”. Give this variable the value shared folder name. But be careful, don’t include the trailing backslash!

Creating a custom variable in PDM Pro Dispatch

Then, add an action with “Shell Execute” as the command. Choose to have the shell run a command line and paste this text in as the command:

$vault = New-Object -COMObject ConisioLib.EdmVault;$vault.LoginAuto('%NameOfCurrentVault%',0);$folder=$vault.GetFolderFromPath('%SharedFolder%');$file=$vault.GetFileFromPath('%PathToSelectedFile%',$folder);$folder.AddFileShared($file.id,0)

PDM Pro Dispatch ShellExecute runs the command we add to the command line box

This code blindly tries to create the shared file. There is no feedback to the user if the command was successful. If you figure the risk is rather low if this doesn’t work, leave “Halt execution of script until Shell command is completed” unchecked. This will improve performance quite a bit if you are sharing many files at one time, However if you would like to give your user some feedback on if the file was shared successfully, you need to check this option and add a “Get File” command, as I’ll describe next.

I don’t have a clean way to report the success of the sharing process. The easiest/fastest tool I have found is to add a “Get File” command. The “Get File” command complains to the user if it could not find a file. It won’t say anything if everything works as expected. If you want this check, add the “Get File” action and configure as below.

Get File action

%SharedFolder%\%NameOfSelectedFile%

Two more things. First, set the activation of this Dispatch action to occur during a state transition and/or a menu command. Then, enclose the above two actions in a “For all documents” block so the action will cycle through all files.

The complete Dispatch script should look like this:

Complete Dispatch script

Deleting the share

There isn’t a special procedure in deleting a shared file. The procedure is exactly the same as deleting any other file.

But maybe you want Dispatch to delete it for you. (Probably because a workflow transition is doing this work.) Create a new administrative action, create the same “SharedFolder” variable, create a Delete file action, define it as below, and sandwich between a “For all documents block”.
Delete action
%SharedFolder%\%NameOfSelectedFile%

If you want to get rid of the little shared icon, you need to destroy the share.

]]>
https://www.cati.com/blog/how-to-make-pdm-pros-dispatch-share-files/feed/ 0
PDM hyperlinks to your clipboard – in plain text! https://www.cati.com/blog/pdm-hyperlinks-to-your-clipboard-in-plain-text/ https://www.cati.com/blog/pdm-hyperlinks-to-your-clipboard-in-plain-text/#respond Fri, 07 Aug 2020 19:27:06 +0000 https://live-cati-marketing.pantheonsite.io/blog/pdm-hyperlinks-to-your-clipboard-in-plain-text/ We thought 2018 was going to be a good year because that was the year SOLIDWORKS gave us the ability to copy a PDM file’s hyperlink to the clipboard. The excitement must have worn off because, even though the “Copy Link” function is still available on a file’s context sensitive menu, no mention of it can be found in the 2020 help file.

The ability to create SOLIDWORKS PDM Pro hyperlinks to files and folders has been around for many years. Hyperlinks are a great tool for opening, finding, viewing, [etc.] documents from external sources. The problem has always been that they hyperlinks are not very easy to create. Before 2018, your only choices were to use the programming interface or build the link through SQL.

The idea with “Copy Link” is that you right-click on a file, click “Copy Link” and that adds the hyperlink to your clipboard. Later, when you paste the link into an HTML aware editor (e.g. MS Office) you’re pasting the name of the file into your document, with the hyperlink properly added. The problem is that you cannot paste the link into non-HTML aware locations. Notepad, your ERP system, database fields -practically everywhere else, the paste function doesn’t work.

I believe most of the time it would be better to have the hyperlink added to the clipboard as plain text. If it’s in plain text I can do anything I want with it. For a long time I was doing this with a PDM add-in. It worked great, but writing add-ins isn’t for everyone. So, this blog post shows how I finally figured out a way to make a PDM data card button copy my hyperlinks to my clipboard for me.

How it works – behind the scenes

[Warning: in this section I do get into some code writing. You don’t really need to know any of this to make it work in your data cards. If you just want to make it work, skip to the next section.]

The trick is to make the data card button run some PowerShell code to copy PDM hyperlinks to your clipboard.

powershell code

(No I normally don’t use such terrible variable names. But card buttons will only accept 255 characters, so I purposefully made this code as tight as I could.)

  • Line two connects the code to the vault. The %2 is the data card parameter for the vault name.
  • I admit the third line is a hack, but it is the easiest way I have figured out how to define the folder object required in line four. If you know of a better way, please let me know!
  • Notice the %1 in line four. It’s the parameter sent by the data card button for the file’s full path. By reference “GetFileFromPath” also returns the actual folder, overwriting my hack from line three.
  • Lines five and six just makes getting the file and folder’s UID for ease in building the hyperlink
  • Line seven is where the rubber hits the road, and it writes the string in text format to the clipboard. Depending on the goal of the hyperlink, substitute the word explore for ‘open’, ‘view’, ‘get’, ‘lock’, ‘properties’ or ‘history’.

To take this code and put it into a card button, combine all seven lines into one and separate with semicolons. Then, tell the command button you want to run the code with PowerShell by putting the word “PowerShell.exe” at the beginning of the line and put all of the code inside of double quotes.

Implementation

Now, let’s put this into action. First, we’ll add a button to your PDM Pro data card. Give the button a clever caption, set the command type to “Command String”, and cut/past the code below into the data card’s “Command” property. Then, you can copy your PDM hyperlinks to your clipboard as often as your heart desires.

powershell.exe "$v=New-Object -COMObject ConisioLib.EdmVault;$v.LoginAuto('%2',0);$fo=$v.RootFolder;$f=$v.GetFileFromPath('%1',[ref]$fo);$fi=$f.id;$foi=$fo.id;Set-Clipboard -Value \"conisio://%2/explore?projectid=$foi&documentid=$fi&objecttype=1\""

The button properties should look like this:

Set the data card button properties to run the powershell and add your hyperlink to the clipboard.

One last point: You need to check-in the file at least once for the hyperlink to be built properly.

Sorry PDM Standard guys, this method uses API so it will not work for you.

]]>
https://www.cati.com/blog/pdm-hyperlinks-to-your-clipboard-in-plain-text/feed/ 0