ExportScript

Exports a script to a library in the script definition manager.

UI Access None
Parameters
Name Type Description
<ScriptArray> Array

Includes the following:

<LibraryName> – String that defines the name of the library to export the script to

<ScriptName> – String that defines the name of the script to export

<LibraryLocation> String Location of the library specified with <LibraryName>; options are "Project", "PersonalLib", or "UserLib".
Return Value None

 

Python Syntax  ExportScript( <ScriptArray>,<LibraryLocation>)
Python Example

oProject.ExportScript(["NAME:mylib", "myscript"], "PersonalLib")