API Help
Eplan.EplApi.HEServices Namespace / SelectionSet Class / GetCurrentProject Method
if set to true\: Opens an additional selection dialog, if more than one project was selected in the page browser.

In This Topic
GetCurrentProject Method
In This Topic
Determines the active project.
Syntax
public Project GetCurrentProject( 
   bool bUseSelDlg
)

Parameters

bUseSelDlg
if set to true\: Opens an additional selection dialog, if more than one project was selected in the page browser.

Return Value

return != null: the active project return = null: no project is open
Remarks
When 'Cancel' button was pressed in the selection dialog, 1st open project will be returned.
See Also