Returns the active project.

syntaxSyntax:
DlxApp.GetActiveProject()

Return Value

Returns the object DlxProject corresponding to the project. Call the IsValid() method to determine if the object is valid.

Example

  Copy codeCopy code
if (DlxApp.GetActiveProject().IsValid())
{
  DlxApp.Trace("Active project: %s", DlxApp.GetActiveProject().GetName());
}

See also