US$0.00
0

Category: SOLIDWORKS

Batch export SOLIDWORKS assemblies to IGES using PDMPublisher

Exporting SOLIDWORKS parts and assemblies to the IGES (.igs) format is a common necessity for engineers and designers who need to share 3D models with clients, manufacturers, or collaborators using different CAD systems. However, many users encounter challenges when attempting to export to IGES using the built-in PDM Convert Task. In this article, we’ll explore why the PDM Convert Task falls short and how you can batch export SolidWorks assemblies to IGES using PDMPublisher as the optimal solution for exporting all sub-assemblies and parts, along with their configurations, in a seamless batch process. Why Export to IGES Format? The Initial Graphics Exchange Specification (IGES) is a widely accepted, neutral file format that facilitates the exchange of information among different CAD systems. Exporting to IGES ensures compatibility and preserves the integrity of your 3D models. Benefits of IGES Format Limitations of the PDM Convert Task The SOLIDWORKS PDM Convert Task is designed to automate file conversions, but it has significant limitations when exporting to IGES format. Key Limitations Impact on Productivity These limitations can significantly hinder productivity, forcing users to perform manual exports or seek alternative solutions, which may not be efficient for large projects. Introducing PDMPublisher: The Optimal Solution PDMPublisher is a powerful add-in for SOLIDWORKS PDM that overcomes the limitations of the standard Convert Task. It provides enhanced export capabilities, allowing you to export parts and assemblies to IGES format efficiently. Key Features of PDMPublisher Benefits of Using PDMPublisher for IGES Exports 1. Streamlined Workflow 2. Enhanced Compatibility 3. Improved Productivity 4. Seamless Integration How to Export to IGES Format Using PDMPublisher Step 1: Install PDMPublisher Step 2: Configure Export Settings Step 3: Select Files for Export Step 4: Initiate the Export Process Step 5: Verify Exported Files Conclusion Exporting SOLIDWORKS parts and assemblies to IGES format is essential for cross-platform collaboration and manufacturing processes. The limitations of the PDM Convert Task can hinder productivity and workflow efficiency. PDMPublisher simplifies this by allowing users to batch export SolidWorks assemblies to IGES using PDMPublisher, ensuring all sub-assemblies and configurations are accurately exported. By integrating PDMPublisher into your workflow, you can enhance productivity, reduce errors, and ensure seamless collaboration with partners and clients.

Read More »

A Comprehensive Guide to SOLIDWORKS Table Types: Optimize Your Design Workflow

Tables are a powerful feature in SOLIDWORKS, allowing you to efficiently organize and display essential information such as Bill of Materials (BOMs), revision histories, hole data, and more. In this guide, we’ll explore the most commonly used SOLIDWORKS table types and how they can streamline your design workflow for better accuracy and productivity. What are SOLIDWORKS Tables? SOLIDWORKS tables are built-in features that allow users to manage, organize, and display design data in an easy-to-read format. They help with documenting product details, managing configurations, and reducing errors in the manufacturing process. Here’s a breakdown of the most popular table types in SOLIDWORKS and how they can enhance your design workflow. 1. Bill of Materials (BOM) Table The Bill of Materials (BOM) table is one of the most essential tools for assembly management in SOLIDWORKS. It lists all components, part numbers, quantities, and descriptions for a specific assembly. A well-organized BOM ensures all required parts are accounted for during the manufacturing process. Key Benefits 2. Revision Table Tracking changes is critical, especially in collaborative environments. A Revision Table helps you manage design updates by displaying details like revision number, date, and description of changes. This table ensures everyone is aware of the latest modifications, reducing the risk of miscommunication or outdated designs. Key Benefits: 3. General Table The General Table in SOLIDWORKS is highly customizable and can be used for any type of data you need to track or present. Unlike predefined tables like BOMs or revision tables, general tables allow you to structure and manage custom data efficiently. Key Benefits 4. Hole Table A Hole Table in SOLIDWORKS is a must-have for managing and documenting hole data in parts and assemblies. It provides detailed information such as hole size, type, and location, helping manufacturers accurately produce the part. Key Benefits: 5. Weldment Cut List Table For managing weldments, the Weldment Cut List Table is indispensable. It provides details such as material, length, and quantity for each structural member in a weldment. This table ensures accurate cutting and assembly, making it easier to manufacture complex structures. Key Benefits 6. Bend Table The Bend Table is specifically designed for sheet metal parts in SOLIDWORKS, helping you track and document bends. It includes important details like bend allowance, bend radius, and direction, ensuring precision during sheet metal fabrication. Key Benefits 7. Punch Table The Punch Table is another valuable tool for sheet metal parts. It lists all punch features along with their locations and dimensions, helping manufacturers ensure that punches are accurately placed during fabrication. Key Benefits 8. Weld Table The Weld Table documents all the welds in your design, providing critical information like bead size, length, and material. This table is essential for communicating welding requirements to fabricators. Key Benefits 9. Hole Callout Table The Hole Callout Table is specifically designed for providing clear, detailed callouts of hole features in a part or assembly. It ensures accurate communication of hole specifications to manufacturers. Key Benefits All of these SOLIDWORKS table types, including Bill of Materials (BOM), Revision Tables, and Design Tables, can be automated using the SOLIDWORKS API. By automating table creation and management, you can save time, reduce errors, and streamline your design process. If you’re looking to implement SOLIDWORKS table automation or need custom solutions for your design workflow, feel free to contact us at Blue Byte Systems Inc. Our team of experts is here to help you maximize the potential of the SOLIDWORKS API.

Read More »

SolidWorks Macro Export Flat Pattern DXF: How to Automate with VBA

Working with sheet metal in SolidWorks, you’ll often find yourself in need of exporting large assembly files into DXF format for manufacturing purposes. And if you’re someone who needs to deal with exporting dozens of parts from a large assembly manually, you understand how much of a time-consuming task it can be. You don’t have to worry or waste time on manually exporting each sheet anymore. With a VBA (Visual Basic for Applications), you can automate the SolidWorks export sheet metal DXF process. Now, you can export 1:1 scale DXF files directly with production-ready accuracy and efficiency. In this guide, we’re gonna walk you through the process of how to automate SolidWorks macro export flat pattern DXF using VBA. Rest assured, this solution is gonna not just save your time but also help you streamline your workflow, regardless of the complexity of assemblies. Why You Should Automate Your SolidWorks DXF Export You should automate your SolidWorks DXF export sooner rather than later since manual file conversion is slow and highly prone to human error. Especially when you’ll be dealing with complex assemblies, it’s a must. Automating it provides you with many benefits such as– How to Convert a SolidWorks File to DXF Automatically To begin automating the process, you’ll need– The VBA macro forms the backbone of this automation, wherein it looks for sheet metal parts within your assembly and exports their flat patterns as DXF files in a 1:1 scale.  Here’s A Step-By-Step Breakdown of How It Should be Done Step 1: Create a New Macro in SolidWorks Open SolidWorks and go to Tools > Macro > New and choose where you wish to save your new macro file. Choose a folder that is convenient so that you can write the VBA code there and save it. Step 2: Implement The Provided VBA Code for Auto-Export of DXF Below is a handy VBA script to loop through all your existing assembly components, check if the part is a sheet metal part, and auto-export it as a DXF file. This is a preview of what the code does in the background: Step 3: Personalize the Macro You can modify the saveDir variable to select where you want to save the DXF files. Include custom file naming schemes or error handling if needed. Step 4: Run the Macro Once you have saved the code in your macro file, go ahead and open your assembly within SolidWorks. Go to Tools > Macro > Run, and select the macro file that you saved. The macro will run automatically, saving DXF files for each sheet metal body within your assembly as well as saving them in the provided directory. Now you can see the huge difference from exporting each file separately. Benefits of Using SolidWorks Text to DXF Even though the primary purpose of this macro is to export flat patterns for production, the same idea could be applied to do some other tasks as well. For instance, you might export SolidWorks text to DXF using the script. It will be helpful to generate files to laser engrave or mark. The SolidWorks API is highly customizable, and you can develop automation solutions that are specifically suited to your requirements, so you have full control over what you’re doing. You can automate your SolidWorks macro export flat pattern DXF process and boost productivity, along with avoiding errors effectively. Due to the power of VBA macros, you are now able to transform your lengthy, time-consuming process into a quick, auto-action. Need Assistance with SolidWorks Automation? If you require automation of more of your SolidWorks processes, like sheet metal custom solutions, DXF export, or other niche workflows, Blue Byte Systems is here to help. We specialize in automating SolidWorks and PDM processes for enhanced efficiency and accuracy. Call us today to discuss your needs and let us help you streamline your operations with custom automation solutions!

Read More »

How To Edit PDM Datacard Using VBA Macro

Working within a SOLIDWORKS PDM workgroup, updating information on a PDM datacard for multiple files manually can quickly become tedious and prone to mistakes. Whether you’re a new designer, a project manager revising data, or an administrator entering details, doing this task by hand often slows down workflows and introduces inconsistencies. The good news is you can automate this entire process with a simple VBA macro. In this guide, you’ll learn how to use a VBA macro to interact with and update a PDM datacard, helping streamline your work and reduce repetitive data entry in SOLIDWORKS and SOLIDWORKS PDM. For this tutorial, we’ll use SOLIDWORKS 2023 and SOLIDWORKS PDM Professional 2023. You’ll see how to build a macro that can read and update datacard variables inside a PDM vault. Step 1: Creating a New Macro Start by opening SOLIDWORKS and following these steps alongside me– This guide is an extended version of work previously done for automating PDM with VBA. If needed, you can always catch up on our previous tutorial guides about checking files into another vault at our Blue Byte YouTube channel. Step 2: Setting References and Connecting to the Vault Before you can start editing the PDM files, we need to make sure that the references are correctly connected to the PDM vault. Let’s do that– Now, let’s define the essential variables: Dim edmVault As IEdmVault5Dim filePath As StringDim swFile As IEdmFile5Dim swFolder As IEdmFolder5Dim variableName As StringDim varEnum As IEdmEnumeratorVariable5 Step 3: Connecting to the Vault We’ll now establish a connection to the PDM vault and log in automatically. This is a critical step that authenticates your macro and authorizes it to retrieve your files and data cards in your vault. The code logs in automatically using your current Windows credentials, so it’s simple to accomplish and allows your automation to run smoothly. Set edmVault = New EdmVault5edmVault.LoginAuto “YourVaultName”, 0 ‘ Replace “YourVaultName” with your actual vault name Step 4: Getting the File and Folder Once you are logged in to the vault, you need to identify and retrieve the file that you want to modify. The best practice to do so is to use the complete file path. Simply right-click on the file in your File Explorer and select “Copy as Path”. Note: This is just one of the methods you’d want to follow for SolidWorks PDM data card examples. Other methods typically include searching for files that exist within the API. However, I’d say the file path method I’m using is the simplest. vbaCopy codefilePath = “C:\PDM_Vault\YourFile.SLDPRT” ‘ Replace with your actual file path Set swFile = edmVault.GetFileFromPath(filePath, swFolder) Step 5: Checking Out the File Before making any sort of changes to a SolidWorks PDM data card, you must check out the file. This is part of PDM’s version control process. The check-out process places the file in your exclusive control, so others can’t change it at the same time, and thus prevent data corruption. You’ll receive an error if you attempt to edit a variable on an unchecked-out file. If Not swFile.IsLocked Then swFile.LockFile swFolder.ID, 0End If Step 6: Accessing Datacard Variables Now that the checking is done, we can go ahead and access, view, and modify the datacard variables. We’ll use the enumerator to modify the variables. It’s an easy way of updating these variable fields. The following example sets the “Description” field on the data card of the selected file to “New Description”. You can do the same to make changes for any other data card variables, such as part number, revision, or material. Set varEnum = swFile.GetEnumeratorVariablevariableName = “Description” ‘ Example variablevarEnum.SetVar variableName, “@”, “New Description” This example sets the “Description” field on the data card of the selected file to “New Description”. Step 7: Testing and Finalizing If you run the macro now, you should be able to see that the data card now shows the new value. By now… you’ve successfully integrated this powerful automation technique that’ll now significantly improve your process by removing manual data input and ensuring data consistency for all your documents. Summary Following along with me, now you know- Was the guide helpful so far? If so, don’t forget to check out our YouTube channel and subscribe to make sure you don’t miss out on any future updates. Follow us on LinkedIn for more tips and tricks on automating SOLIDWORKS and PDM processes.

Read More »

Export SLDPRT and SLDASM to HTML with PDMPublisher

Ever found yourself in a bind needing to send a SOLIDWORKS file to someone without the program? No fun at all, is it? You’ve just spent some time getting a design ready, but getting that massive .SLDPRT or .SLDASM file to a customer, salesperson, or your marketing team just won’t fly. PDMPublisher comes with support for exporting SOLIDWORKS parts and assemblies to HTML: Luckily, you’re no longer stuck. PDMPublisher is an industrial-strength utility specifically created to deal with this problem. It makes the entire process of converting your SOLIDWORKS parts and assemblies into interactive HTML easy. Essentially, it’s your own SLDASM converter and SLDPRT converter built right inside SOLIDWORKS PDM. It does the conversion for you, meaning anyone with a standard web browser can open and view your designs—no plug-ins or cost-is-too-much software required. It’s the perfect way of bridging the gap between engineers and the rest of the business, providing instant, easy access to your product data for all. How to Convert Your SOLIDWORKS Files to HTML With PDMPublisher? It’s refreshingly simple to convert your SOLIDWORKS files to HTML. The process is entirely constructed with the capability to become a part of your daily workflow. Here’s a quick summary on how: The Old Way vs. The PDMPublisher Way Before PDMPublisher, publishing your .SLDPRT and .SLDASM files on a web page was a headache. It involved wrestling with long winded export procedures and wading through an entire gamut of potential issues just to get your design on the web. PDMPublisher does everything in reverse. Manual Exports: The Old Way Automated Exports: The PDMPublisher Way Bottom Line When you need Export SLDPRT and SLDASM to HTML with PDMPublisher, you’re not just choosing a powerful SLDASM converter and reliable SLDPRT converter. You’re choosing a complete solution that streamlines your whole process, making sharing your designs and getting them out to so many more people insanely easy. Unlike an open source PDM SolidWorks solution, PDMPublisher is a complete, integrated, and trustworthy workflow that leaves you with the confidence to know that your information is secure and your process is seamless. The definitive solution for sharing your designs with the masses.

Read More »

Dark/Light theme: Sync your Windows 10 default app mode with SOLIDWORKS 3D

SOLIDWORKS 3D offers users a dark and a light theme. To sync your Windows 10 default app mode with SOLIDWORKS 3D, you can use a custom add-in that automatically aligns the theme with your system settings. There is a setting in Windows 10 that automatically turn on or off theme selection in third-party applications. SOLIDWORKS does not use that feature so it’s about time we wrote an article to show how a custom add-in can automatically pick up that Windows setting. First, to turn on or off app theme mode, you need to : Clicking light or dark under “Choose your default app mode” will switch the theme in your applications. A good example is Google Chrome. The source code of the add-in is available on our GitHub. It’s made of two classes: – swAddIn.cs: This is the add-in class. – WindowsThemeManager.cs : This class listens for registry changes when the default app mode values. swAddIn.cs WindowsThemeManager.cs:

Read More »
0
0
Your Cart
Your cart is emptyReturn to Shop