EBSILON®Professional Online Documentation
EbsScript / Handling
In This Topic
    Handling
    In This Topic

    EbsScript Handling

     

    Handling several scripts

    You can have many EbsScripts within a single Ebsilon model. Each one has a unique name and unique EbsScript-ID. You may specify a comment for each EbsScript. The name and the comment will be displayed in the EbsScript Explorer as well as in the EbsScript Executor. In the EbsScript Explorer, the allocation between the EbsScript and the ID can also be changed.

    The EbsScript ID is needed to be able to assign an EbsScript to a header or to an HTML text field.

    To create a new script, select the command "EbsScriptàNew…" from the menu bar of the EbsScript Editor. The new script will be given a default name (EbsScript_Code_nn).

    The first EbsScript of your document is called "EbsScript_Code" by default. You can rename it within the EbsScript Explorer or save it with a new name in the EbsScript Editor by selecting the command "ScriptàSave As" from the menu bar of the EbsScript Editor window. It is thereby possible to save the file internally (within the .ebs file) or as a separate file. See the description of the EbsScript Editor for more details.

     

    Print Scripts

    You can print scripts by selecting the command "ScriptàPrint…" from the menu bar of the EbsScript Editor. With "ScriptàPage Setup" and "ScriptàPrint Setup" you can determine the printer and its properties.

     

    Import / Export of Scripts

    You can import and export script texts via

    the clipboard (using copy and paste (Ctrl+C, Ctrl+V)) as a common script editing action or

    the "EbsScriptàImport" and "EbsScriptàExport" entries from the EbsScript Editor menu..

    The scripts are  exported as ASCII text files. The file extension will be ".esc" by default. The name and comment for the script are not stored.

    Upon importing, you must specify the name and comment, which will be stored together with the script as part of your document.