Home Search

DriveWorks Pro 21
GetAutopilotLog

Send Feedback

GetAutopilotLog

Returns the Log of an Autopilot as a Table Array.

This will only function with a Shared Group.

Syntax

SppGetAutopilotLog([Autopilot Name])

Where:

Autopilot Name is the name of the Autopilot for which to return the log.

The name of the Autopilot is the machine name where DriveWorks Autopilot is installed.

Example

RuleResultMeaning
GetAutopilotLog("DW-AP01"){"Date","Description","Source","Target","Type";"18/12/2018 11:52:51","Plugin loaded and initialised","DriveWorks SolidWorks PowerPack","",0;"18/12/2018 11:53:11","The Autopilot service is starting.","Autopilot Service","",0;"18/12/2018 11:53:11","The Autopilot service is running.","Autopilot Service","",0}Will return a Table Array of the current Autopilot Log.

See Using Autopilot for more information.

Example Array

DateDescriptionSourceTargetType
18/12/2018 11:52:51Plugin loaded and initialisedDriveWorks SolidWorks PowerPack0
18/12/2018 11:53:11The Autopilot service is starting.Autopilot Service0
18/12/2018 11:53:11The Autopilot service is running.Autopilot Service0
Type Column

The Type column will report a number from 0 to 3 which represents the following:

  • 0 = Notification (Blue orb)
  • 1 = Success (Green orb)
  • 2 = Warning (Yellow orb)
  • 3 = Error (Red orb)