Solidworks Pdm Api For Absolute Absolute Beginners (Vba)

Posted By: ELK1nG

Solidworks Pdm Api For Absolute Absolute Beginners (Vba)
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 172.18 MB | Duration: 0h 31m

Learn the basics of the SOLIDWORKS PDM API.

What you'll learn

Learn how to login to the vault using the IEdmVault5 interface

Learn how to use the iterator pattern to traverse the vault folder structure

Check files in and out using the LockFile and UnlockFile methods

Read and edit datacard variables using the IEdmEnumeratorVariable5

Requirements

Basic knowledge of VBA

SOLIDWORKS 3D

SOLIDWORKS PDM Professional (Not standard)

Description

The SOLIDWORKS PDM Professional Application Programming Interface (API) is a programming interface to SOLIDWORKS PDM Professional, which allows you to automate and customize SOLIDWORKS PDM Professional. The API contains functions that you can call from Visual Basic for Applications (VBA). These functions provide direct access to the SOLIDWORKS PDM Professional environment.This course will teach the most common basic functions of the SOLIDWORKS PDM API. It will cover topics such as logging into the vault, locating files, traversing the folder structure using the iterator pattern, checking files and out of the vault, and reading and editing datacard variables using the IEnumeratorVariable5. All of the code examples are going to be written in VBA and executed in the SOLIDWORKS Visual Basic Editor.The course does NOT cover advanced topics such add-ins, task add-ins, batch objects, and other interfaces of the SOLIDWORKS PDM API. It requires that you have a decent knowledge of VBA and have access to SOLIDWORKS 3D and a SOLIDWORKS PDM professional vault.The knowledge acquired in this course can be utilized to automate basic tasks in SOLIDWORKS PDM API, modify the SOLIDWORKS PDM task advanced scripting section, and even write tools to batch process files in PDM from a VBA macro.

Overview

Section 1: Course Scope

Lecture 1 Course Scope

Section 2: Introduction

Lecture 2 Introduction

Lecture 3 Setting up your programming environment

Section 3: The Vault Object (IEdmVault5)

Lecture 4 Hello Vault program in VBA

Lecture 5 Logging into the Vault using LoginAuto and Login

Section 4: Working with files and folders (IEdmFile5 and IEdmFolder5)

Lecture 6 How to get the IEdmFile5 interface in the SOLIDWORKS PDM API

Lecture 7 Traversing the folder tree structure in a PDM vault with the API

Lecture 8 Checking files in and out of the vault using the API

Section 5: Read and editing datacard variables (IEdmVariableEnumerator5)

Lecture 9 Read and editing data variables with the IEdmEnumeratorVariable5 interface

SOLIDWORKS PDM administrators, SOLIDWORKS designers