CustomOperator.Language

Introduced

v4.0

Description

Returns the language used to implement the custom operator as a String. Typical values include: "CPP", "COM", "JScript", "VBScript", "Python" and "PerlScript".

C# Syntax

// get accessor
String rtn = CustomOperator.Language;

Examples

JScript Example

NewScene( null, false );
// Create a scripted operator connected to posx
var null1 = GetPrim( "Null" );
var sop = null1.posx.AddScriptedOp();
Application.LogMessage( "language used by scripted op is: " + sop.language );