|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > PDMSystem > TrackEvents |
This command activate/deactivate the event system of the Mechworks PDM, enabling a script to AVOID the automatic recording when saving.
call DBWShell("TrackEvents EnabledMode [permanent]")
EnabledMode |
[0/1] |
|---|---|
permanent |
optional. |
See the list of Mechworks PDM tracked events.
Sub main()
call DBWShell( "TrackEvents 0" )
call DBWShell( "SWOpen C:\Program|Files\dbworks\regressionTest\handlebar\Brake|Handle|Pivot|Nut.SLDPRT" )
if (okDBW ) then
call DBWShell( "SWSave" )
call DBWShell( "SWSaveAs F:\temp\test.sldprt" )
call DBWShell( "SWClose" )
end if
call DBWShell( "TrackEvents 1" )
end sub