Command.Language

Description

Returns or sets the language used for implementing this command's handler function in a String. By default, this is the scripting language set in User Preferences, either VBScript, JScript, PerlScript or Python. The values can be either CPP (for C++ language) or one of the scripting language supported by Softimage: VBScript, JScript, PerlScript or Python.

Note: It is not necessary to specify this property for custom commands implemented as self-installed plug-ins.

C# Syntax

// get accessor
String rtn = Command.Language;
// set accessor
Command.Language = String;

Examples

VBScript Example

set cmd = Application.Commands("Twist")
LogMessage "command language: " & cmd.Language