CreateScriptedOpFro mFile (XSIFactory)

Introduced

4.0

Description

Creates a blank scripted operator with the code specified in a file.

Scripting Syntax

    XSIFactory.CreateScriptedOpFromFile( Name, FileName, [Language] )

C# Syntax

    CustomOperator XSIFactory.CreateScriptedOpFromFile( String Name, String FileName, String Language );

Parameters

Parameter | Type | Description
Name | String | The name for the new scripted operator. Default Value: ""
FileName | String | The file containing the scripting logic that implements the scripted operator. Default Value: ""
Language | String | The scripting language to use for the logic; for example "JScript" Default Value: The current scripting language user preference

Return Value

CustomOperator

Autodesk Softimage v7.5