API event: check-in
API event: check-in
(OP)
Is there an event like "onCheckIn" one can use to activate a macro when you check in a part?
When was the last time you drove down the highway without seeing a commercial truck hauling goods?
Download nowINTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: API event: check-in
Bradley
RE: API event: check-in
One possibility is to monitor the document's Save and Save-As events to trigger when saved to a certain drive or diectory (or vault).
This is best done as an addin, requiring fully compiled VB or C++. Very impractical to monitor for events with a macro.
Project for turning macros into addins in VB:
<http://www.EsoxRepublic.com/devtools/>
Just how much interest is there in something like this?
http://www.EsoxRepublic.com-SolidWorks API VB programming help
RE: API event: check-in
RE: API event: check-in
RE: API event: check-in
If so you can use even triggers to launch an executable or DLL on any number of actions in the vault, including check-in. There is some documentation on MSMQ triggers in the PDMWorks API help.
RE: API event: check-in
RE: API event: check-in
It seems that all participants in this thread have an idea of what your intended macro will do. I am only just beginning writing VB6...transition... VB.net applications. I am curious as to your intent with the macro upon check in.
Could you please explain your intent?
regards,
Thirsty for knowledge
To get the best from these forums read FAQ731-376 before posting
RE: API event: check-in
Chris
Sr. Mechanical Designer, CAD
SolidWorks 2005 SP0.1
RE: API event: check-in
The error is described here:
http://www.eng-tips.com/viewthread.cfm?qid=107332
So I need this option checked upon checking out or right before opening, and I need this option deactivated upon checking in or saving.
I'd love to learn how to program something like this in a .dll but realistically I don't have the time or the resources.
RE: API event: check-in
1) Most decent PDM systems have an API that should allow you to trigger something on a check-in.
2) You do NOT need to use C++ to trigger something on a notify flag - you can use VB6, VB.NET, C#, etc. - pretty much anything that can automate SolidWorks.
Evan T. Basalik, MCSD
--------------------------------
It's all about prioritization...