<reponame>superdurszlak/ImpactTest
from abaqusGui import getAFXApp


# Root function for the plugin
def init():
    # Abaqus 'Plugins' toolset
    toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
    # Attach 'ImpactTest' plugin to the toolset
    toolset.registerKernelMenuButton(
        buttonText='ImpactTest',
        # Plugin's main module
        moduleName="ImpactTestGUI",
        # Module's function to be invoked
        functionName="run()",
        author='<NAME>',
        description='Ballistic impact model designer',
        version='0.2',
        helpUrl='https://github.com/superdurszlak/ImpactTest/blob/master/README.md'
    )


init()

from abaqusGui import getAFXApp


# Root function for the plugin
def init():
    # Abaqus 'Plugins' toolset
    toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
    # Attach 'ImpactTest' plugin to the toolset
    toolset.registerKernelMenuButton(
        buttonText='ImpactTest',
        # Plugin's main module
        moduleName="ImpactTestGUI",
        # Module's function to be invoked
        functionName="run()",
        author='<NAME>',
        description='Ballistic impact model designer',
        version='0.2',
        helpUrl='https://github.com/superdurszlak/ImpactTest/blob/master/README.md'
    )


init()
# Root function for the plugin # Abaqus 'Plugins' toolset # Attach 'ImpactTest' plugin to the toolset # Plugin's main module # Module's function to be invoked