-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcB_v6_plugin.py
More file actions
23 lines (22 loc) · 1.1 KB
/
cB_v6_plugin.py
File metadata and controls
23 lines (22 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from abaqusGui import getAFXApp, Activator, AFXMode
from abaqusConstants import ALL
import os
thisPath = os.path.abspath(__file__)
thisDir = os.path.dirname(thisPath)
toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerGuiMenuButton(
buttonText='Tools ME|Connection Builder',
object=Activator(os.path.join(thisDir, 'cB_v6DB.py')),
kernelInitString='import CB_module',
messageId=AFXMode.ID_ACTIVATE,
icon=None,
applicableModules=['Assembly','Step','Interaction', 'Load'],
version='1.0',
author='Matthias Ernst, Dassault Systemes Germany',
description='This Plug-In allows an easy creation of connections built of coupling+connector+coupling. '\
'Supported only in CAE v2016 or higher. Selection of geometric surfaces is required. '\
'Always confirm selection for each region with DONE button or middle mouse button before pressing Apply or OK. '\
'Create a connector section first, otherwise a section is created on-the-fly.'\
'\n\nThis is not an official Dassault Systemes product.',
helpUrl='N/A'
)