|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > PDMSystem > DBWEventLogEvent |
Returns the occurrence of a given event on a given document type.
Function DBWEventLogEvent(EventKey, DocType)
EventKey |
It is the event type to check. Available values are: EVENT_DOCUMENT_REPLACE EVENT_DOCUMENT_REPLACE_WITH |
|---|---|
DocType |
the type of the document |
TRUE |
If an event of specified type on document of specified type has occurred. |
|---|---|
FALSE |
otherwise |
if DBWEventLogEvent("EVENT_DOCUMENT_OPEN", "P" ) then
msgbox " a part type document has been opened"
end if