Extensible CAD Technologies
SolidWorks and PDMWorks Enterprise Development Blog

PDM/PLM

Who? Me?…PDMWorks Enterprise API Development Gotchas With .NET

Posted by Jeff Cope at 18 June, 2008, 1:49 pm
9

PDMWorks Enterprise API Development Gotchas

A year or two ago I read a book that changed the game for me.  The book was called .NET Gotchas and it made me about  10x more effective as a developer.  The book details 75 common pitfalls with .NET development and explains how to avoid them.  I was knee-deep in a few of those pitfalls when I found the book at my local library.  In fact, I was at the library specifically to get help for a few problems I was having with a PDMWE Addin project that I was working on at the time.  The addin was written for continue

If you enjoyed this post, make sure you subscribe to my RSS feed!

Category : .NET | COM | PDMWE | PDMWE API | PDMWorks Enterprise

PDMWE API 201 – A Simple Addin To Pull Document Numbers On Demand

Posted by Jeff Cope at 20 November, 2007, 2:46 am
6

What Does This Addin Do?

 This Addin “listens” for Command Button events to be “fired” from data cards in PDMWorks Enterprise.  This could be File Cards (i.e. for existing files or folders) or Input Cards (i.e. for new files or folders).  If the command string of the Command Button matches our criteria, then the Addin will pull the next Serial Number from a Serial Number sequence in the vault.  The best thing about the Addin is that the Serial Number sequence name is specified as part of the command string.  This means that the Addin can be configured very easily by a non-programmer to run on any number of different Serial Number sequences.  In other words, our Addin is Extensible (sorry, I couldn’t resist). 

 Why Do I Need A Custom PDMWorks Enterprise Addin For Handling Document Numbers When PDMWorks Enterprise Already Has “Serial Numbers” Functionality That Handles This?

 PDMWorks Enterprise is a great tool and the Serial Numbers functionality is very useful.  However, as implemented in PDMWorks Enterprise, the Serial Numbers are kind of wired directly in to the system and don’t allow much flexibility in terms of when and how they are used.  You either set your part number to be populated from the Serial Number sequence or you don’t.  There is no “let’s do it this way for this case and another way for this other case.”  By writing a very simple Addin, continue

If you enjoyed this post, make sure you subscribe to my RSS feed!

Category : .NET | COM | PDMWE | PDMWE API | PDMWorks Enterprise
Generate First-Article Inspection Reports From TIF, PDF and CAD Drawing Files With InspectionXpert. Generate First-Article Inspection Reports From SolidWorks Drawing Files With InspectionXpert.