|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > PDMSystem > GetProductName |
available from build: 20230530 |
The command returns the name of the PDM Application.
call DBWShell("GetProductName")
@SERVICE_PRODUCT_NAME |
The name of the PDM Application |
'.x64
Sub main()
DBWInit(true)
call DBWShell( "GetProductName" )
name = DBWResult("@SERVICE_PRODUCT_NAME")
DBWMsgBox "PRODUCT NAME: " & name
end sub
'.x64
sub Main()
DBWInit(TRUE)
Set pDBWInit = CreateObject("MwPDMApi.Initialize")
Set pDBWAppl = pDBWInit.StartConnection(DBWorksApplicationName)
name = pDBWAppl.PDMSystem.GetProductName()
DBWMsgBox("Service product name: " & name)
pDBWInit.EndConnection
end sub