Extensible CAD Technologies
SolidWorks and PDMWorks Enterprise Development Blog
18
Jun

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
12
Jun

 

Writing Add-ins in SolidWorks can be tricky stuff as it involves class libraries, COM, interfaces, etc…  It can be argued whether it is easier or harder in .NET (ease of use of .NET versus pain in the rear of COM Interop) but your good friends at SolidWorks set out to make it easy on all of us by creating Visual Studio templates for quickly creating SolidWorks Add-ins.  continue

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

Category : .NET | COM | SolidWorks | SolidWorks API
26
Mar

SolidWorks Equations Are Cool

Disclaimer:  This post isn’t directly API-related but using logic statements in SolidWorks equations is so useful that I decided to post it.  Also, the syntax is in a kind of “techno-weenie-ese” so I thought I would help folks with the syntax. 

 The SolidWorks equation editor is a very useful, powerful and yet easy to use tool for building design intent into your SolidWorks model.  However, most people don’t take full advantage of its power.  In addition to support for constants, which are nice, the equation editor allows If…Then type logic statements.  The idea is that you can set a dimension’s value to one of two values depending on the veracity of a logic statement pertaining to another/other dimension(s).  Say what?….

 Time for an example…

continue

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

Category : CAD | SolidWorks
23
Feb

 In spite of all their positive benefits, which are many, more than a few SolidWorks users look upon custom properties with the same disdain that a pre-schooler would have for green leafy vegetables.  You can explain the benefits of custom properties, how they help you find things, how they lead to healthy drawing title blocks, how they improve PDM implementations, etc… until you are blue in the face and with some individuals you still won’t make a dent.  There might be a change for a few days even a few weeks but inevitably you are back to files with no custom properties filled out. 

In order to increase the life-expectancy of CAD administrators everywhere, I have posted a free .NET Add-In for SolidWorks that will “remind” your users to enter certain custom properties whenever they create a new file or save an existing one (after the initial save).  The list of custom properties is configurable and

  continue

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

Category : .NET | CAD | COM | SolidWorks | SolidWorks API | XML
9
Feb

Father forgive me.  It has been two weeks since my last blog post.  I apologize everyone for the long interval but things have been crazy.  In addition to some long nights at my day job, I am in the process of releasing a new version of InspectionXpert, the Quality Inspection Sheet generating software from my company Extensible CAD.  It is a rewarding endeavor but also very demanding.

 Anyways… not so long ago I posted a Macro & tutorial on how to register for SolidWorks events.  One application of that technique that I mentioned was to automatically generate document numbers for your SolidWorks document and insert them into SolidWorks “auto-magically.”  Well, not too long thereafter I was bombarded with emails asking me to post that little Macro and I promised to do so.  This post is the fullfillment of that promise.  I’m sorry it took so long but I think you guys will like it.  I feel it is “auto-magically delicious” myself : )

 You can download the database and the macro from here.

Keep reading to see a flash video of the macro in action…

continue

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

Category : Database | SolidWorks | SolidWorks API
27
Jan

Well, it’s over again.  Every year it just flies by in three blinks of the eye.  This year started out with a little irony (my connecting flight to Atlanta was cancelled due to inclement weather [30degrees F with snow] so I had to fly through Minneapolis instead where it was -15 F) but quickly turned into a great experience. 

My favorite thing about the conference was all of the people that I met.  I discovered that people do really read my blog (thank you Adrian from Intercad) and I met some of the other bloggers (although I am not really a blogger by the estimation of Richard Doyle of SolidWorks).  Some of the guys that I met were Lenny Kikstra of SolidWorks Macro fame, Josh Mings from SolidSmack (the best SolidWorks blog out there), Ricky Jordan and Ben Eadie of SolidMentor.  I also ran into a few of the bloggers that I had already met in person (e.g. Matt Lombard of SolidWorks Surfacing and SolidWorks Bible fame, Rob Rodriguez – the Grandmaster of PhotoWorks).

In addition to the great networking, I got to see a few really good presentations and a few duds.  My two favorite presentations were Michael Craffey’s presentation on regulatory compliance issues related to software and Jonathan Freeson’s presentation on developing PDMWorks Enterprise add-ins.   The stump the chump session was pretty good too even though some took advantage of the format by trying to get free consulting.  The major thing I got out of the stump the chump meeting though was that far fewer companies than I had previously thought have switched to SolidWorks 2008.  They don’t know what they are missing.

Finally, I got to see a few cool products that I am excited about.  My favorite is Template Wizard by 3Dawn.  The voice recognition software was pretty cool too.

Breakfast sucked as usual (hard bagels, fruit and yogurt just don’t do it for me in the morning).  I am excited that SolidWorks World will be back at Disney World again next year.  Mickey Mouse pancakes with eggs and bacon are my favorite!  See you next year.

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

Category : General | SolidWorks
17
Jan

I will be in San Diego for my fourth SolidWorks World. If you see me there, then by all means say hello.

For those of you that have had positive feedback on the blog over the past few months, I appreciate it. It is for you that I write the blog. I hope someone finds it useful.

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

Category : General | SolidWorks
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.