LastCommandName

Returns the name of the last executed command.

Syntax

rhinoscriptsyntax.LastCommandName()

rhinoscript.application.LastCommandName()

Parameters

None.

Returns

String

The name of the last executed command.

Example

import rhinoscriptsyntax as rs

rs.Command( "Line" )

print "The last command was the", rs.LastCommandName(), "command."

Also See

Command

IsCommand

LastCommandResult