When a GUI module is loaded for the first time, a special method named getKernelInitializationCommand is executed. This method is empty in the base class implementation, and it is up to you to write a method that returns the proper command that will import the appropriate modules on the kernel side. The appropriate modules include any module for which your GUI module can issue commands. If more than one module is required, you can separate the statements by semi-colons or ā\nā characters. To avoid name space conflicts with modules loaded by Abaqus, you should use the import moduleName style for importing modules and not the from moduleName import * style, as shown in the example in GUI module example. |