Hallo rawo,
zum Auschecken kann man in die Shortcutbar einen Knopf hinterlegen.
In dem dazugehörigen Skript muss dann lediglich folgendes stehen:
(Quelle DBWorks-API)
CheckOut
Description
Checks out the current selected document and opens it
Syntax
call DBWShell( "CheckOut [<uid>] ["noopen"]" )
Parameters
uid Optional. It's the unique id of the document to checkout
"noopen" Optional (string).
It can be used only in the parameterless version.
If present avoids the opening of the SolidWorks document after the checkout of the record.
Remarks
If no uid is specified, DBWorks browser must be open and Document Page must be active.
Examples
Here you can see the three available way to use this command.
Parameterless version opening document:
'retrieve the currently selected document
call DBWShell( "CurrentDocument" )
DBWShell("CheckOut")
Parameterless version without open document:
'retrieve the currently selected document
call DBWShell( "CurrentDocument" )
DBWShell("CheckOut noopen")
Parameter version without open document:
doc_uid = 347
DBWShell("CheckOut " & doc_uid)
Meine Frage zu DBWorm hat sich übrigens erledigt. Die Sache läuft mit der neuen Version jetzt ohne das ich noch weitere Einstellungen verändern muss.
MfG
BerndB
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP