Hi Everyone,
In Abaqus/CAE, each assembled fastener can optionally reference a script that will modify the template model properties; for example, to use different materials in the assembled fasteners. These property generation scripts can be used to calibrate or adjust the fastener properties. In Abaqus/CAE property definitions include material, profile, section, and connector section definitions.
You can use the Abaqus Scripting Interface to write your property generation scripts. This feature lets you use the same template model multiple times with different property generation scripts. The property definitions from the template model are copied into the main model and given names based on the original names plus a prefix.
An example of a property generation script for assembled fasteners is attached to this post.
To make your property generation scripts available from the Edit Fasteners dialog box, you must register each script similar to the way in which you register an Abaqus/CAE plug-in. The script must be registered before you start Abaqus/CAE. Any scripts that have been registered will be available from a pull-down list in the Edit Fasteners dialog box.
To register a property generation script, you must write a small registration script containing the following lines:
-----
from abaqusGui import *
toolset = getAFXApp().getAFXMainWindow().getPluginToolset()
toolset.registerAsmbdFastenerScript('filename')
-----
This registration script file must be named xxx_plugin.py. In the code replace filename with the name of your property generation script. The registration script informs Abaqus/CAE that you have a property generation script named filename.py that you wish to use with assembled fasteners.Your property generation scripts and the registration script must be placed in your abaqus_plugins directory.