|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
#1
|
||||
|
||||
does SD-SUBSCRIBE-EVENT receive arguments??
Hi all,
In a while we will probably migrate from Modelmanager to Windchill Workgroup Manager. When using Modelmanager, any part that is not reserved (Checked Out in Windchill-language), will be locked, so that users cannot modify parts accidentally. Workgroup Manager doesn't have this protection. We are now trying to make an SD-SUBSCRIBE-EVENT that warns the user if he changed a part that is not checked out. So, we are playing with something like: Code:
(sd-subscribe-event *SD-CHANGE-MODIFIED-STATUS-EVENT* 'object_was_modified) Does anyone know if it's possible to find out what part has been changed??? Thanks! Jaap |
#2
|
||||
|
||||
Re: does SD-SUBSCRIBE-EVENT receive arguments??
Try an event handler like this:
(defun eventhandler (&rest args) (print args)) and see if any of the args are useful. (My guess, though, is that you probably tried that already...) Good luck! Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/ |
#3
|
||||
|
||||
Re: does SD-SUBSCRIBE-EVENT receive arguments??
Hi Claus,
Thanks a lot! An hour after my post, my collegue and I succeeded using something similar to your suggestion. Work is in progress, we'll report our findings :-) So far, it certainly looks promising... Jaap |
#4
|
||||
|
||||
Re: does SD-SUBSCRIBE-EVENT receive arguments??
Definitely keep us posted in how you make this work. We may end up suffering the same fate. It is a shame, Model Manager works so well.
__________________
Tom Kirkman Creo Elements/Direct 20.1 Dell Precision 3581 https://www.o-i.com |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|