OpenSTAAD V8i

GetProcessId

This function retrives the current STAAD.Pro process ID.

VB Syntax

GetProcessId ()

VB Example

Dim objOpenSTAAD As Object
'Get the application object
Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
'Get Process ID
objOpenSTAAD.GetProcessId