15.1. Configuring a Common Scripts Library

You can build a script library that contains global scripts by placing the script in the /Administration/Configuration/Scripts folder.

Some sample scripts that make use of EKM's scripting interface are packaged in the EKM_HOME/examples/conf/scripts directory where the EKM server is installed. This folder is referenced by a built-in remote folder named /Data/Shared Data/Sample Files. You can place any or all of these scripts in the common /Administration/Configuration/Scripts folder for it to be globally available in all contexts.


Important:  Scripts that are defined in the /Administration/Configuration/Scripts folder cannot access the global ekm variable that is used in EKM's scripting interface. Therefore, this variable will need to be passed as an argument if a script needs to use it.


The overall process for configuring a scripts library for a workspace is as follows:


Release 18.2 - © ANSYS, Inc. All rights reserved.