GUI Customization with Abaqus - Simulia · 2011. 5. 19. · GUI Customization with Abaqus Day 3 (GUI Customization) Lecture 11: Commands and Keywords Part 2 Lecture 12: Modes Part
Post on 06-Feb-2021
10 Views
Preview:
Transcript
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Overview
• Types of Customization
• Goal and Prerequisites
• Agenda
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Types of Customization
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Types of Customization
• There are 3 major areas in which Abaqus can be customized:
• Analysis
• Write Fortran user subroutines to customize the way analysis results are calculated
• Kernel
• Write Python kernel scripts to customize the way modeling objects are created, or to manipulate results data
• GUI
• Write Python GUI scripts to customize the user interface
• This course will not cover Analysis products customization
• This course will focus on GUI customization
• Since the ultimate goal of a GUI is to issue kernel commands, some kernel scripting and customization concepts will be covered in this course
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Types of Customization
• Kernel customization
• Use existing CAE commands
• Copy segments of a replay file to capture commonly used
commands that can be replayed using File→Run Script
• Record macros using the GUI to capture commonly used actions
that can be replayed using File→Macro Manager→Run
• Create your own commands and objects using Python
• Parameterize scripts for more general usage
• Use getInput or getInputs to prompt
for inputs in a dialog (simple interface
involving text fields and strings only)
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Types of Customization
• GUI customization
• Create new modules or toolsets
• Create new menus
• Create new dialogs
• Create new procedures
• Remove Abaqus/CAE modules or toolsets
• Create vertical applications
• The Abaqus GUI Toolkit is NOT designed for:
• Modifying Abaqus/CAE dialogs
• Modifying Abaqus/CAE procedures
• Building an application that does not follow the Abaqus/CAE user interface paradigm
• Running an application outside of the Abaqus/CAE framework
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Goal and Prerequisites
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Goal and Prerequisites
• The goal of this course is to train you to use the Abaqus GUI Toolkit to
customize the Abaqus/CAE interface or build your own applications
• Learn how to build dialogs and issue commands from the GUI
• Learn how to create and modify GUI modules and toolsets
• Learn how to create custom applications
• This course assumes attendees have the following experience:
• Python programming
• Abaqus kernel scripting
• GUI design (courses are available from companies such as User Interface Engineering, www.uie.com)
• Some GUI programming
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Agenda
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Day 1 (Review of Kernel Scripting)
• Lecture 1: Python Review
• Workshop 1–1: Circle Module
• Workshop 1–2: Fibonacci Series (Optional)
• Lecture 2: Kernel Scripting in Abaqus
• Workshop 2–1: Macro to Create a Library
• Workshop 2–2: Session Commands (Optional)
• Lecture 3: Specialized Postprocessing with Kernel Scripting
• Workshop 3–1: Linear Superposition
• Workshop 3–2: Creating an Output Database (Optional)
• Lecture 4: Advanced Kernel Scripting Topics
• Workshop 4: Job monitoring (Optional)
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Day 2 (GUI Customization)
• Lecture 5: GUI Toolkit Introduction
• Lecture 6: Widget Library
• Workshop 5: Creating Widgets
• Lecture 7: Layout Managers
• Workshop 6: Using Layout Managers
• Lecture 8: Dialogs
• Lecture 9: GUI Messaging
• Workshop 7: Message Handling
• Lecture 10: Commands & Keywords Part 1
• Workshop 8: Commands & Keywords Part 1
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Day 3 (GUI Customization)
• Lecture 11: Commands and Keywords Part 2
• Lecture 12: Modes Part 1
• Workshop 9: Commands and Keywords Part 2
• Lecture 13: Modes Part 2
• Workshop 10: Modes Part 2
• Workshop 11: Procedures
• Lecture 14: Modules and Toolsets
• Lecture 15: Building Applications
• Workshop 12: Beam Application
• Workshop 13: Additional Exercises
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Day 4 (GUI Customization)
• Lecture 16: Other Topics
• Workshop 14: Creating customData
• Wrap up Finish workshops
Consulting for company-specific applications
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Legal Notices
The Abaqus Software described in this documentation is available only under license from
Dassault Systèmes and its subsidiary and may be used or reproduced only in accordance with the
terms of such license.
This documentation and the software described in this documentation are subject to change
without prior notice.
Dassault Systèmes and its subsidiaries shall not be responsible for the consequences of any
errors or omissions that may appear in this documentation.
No part of this documentation may be reproduced or distributed in any form without prior written
permission of Dassault Systèmes or its subsidiary.
© Dassault Systèmes, 2011.
Printed in the United States of America
Abaqus, the 3DS logo, SIMULIA and CATIA are trademarks or registered trademarks of Dassault
Systèmes or its subsidiaries in the US and/or other countries.
Other company, product, and service names may be trademarks or service marks of their
respective owners. For additional information concerning trademarks, copyrights, and licenses,
see the Legal Notices in the Abaqus 6.11 Release Notes and the notices at:
http://www.simulia.com/products/products_legal.html.
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
GUI Customization with Abaqus
Revision Status
Lecture 1 5/11 Updated for 6.11
Lecture 2 5/11 Updated for 6.11
Lecture 3 5/11 Updated for 6.11
Lecture 4 5/11 Updated for 6.11
Lecture 5 5/11 Updated for 6.11
Lecture 6 5/11 Updated for 6.11
Lecture 7 5/11 Updated for 6.11
Lecture 8 5/11 Updated for 6.11
Lecture 9 5/11 Updated for 6.11
Lecture 10 5/11 Updated for 6.11
Lecture 11 5/11 Updated for 6.11
Lecture 12 5/11 Updated for 6.11
Lecture 13 5/11 Updated for 6.11
Lecture 14 5/11 Updated for 6.11
Lecture 15 5/11 Updated for 6.11
Lecture 16 5/11 Updated for 6.11
Workshop 1–1 5/11 Updated for 6.11
Workshop 1–2 5/11 Updated for 6.11
Workshop 2–1 5/11 Updated for 6.11
Workshop 2–2 5/11 Updated for 6.11
Workshop 3–1 5/11 Updated for 6.11
Workshop 3–2 5/11 Updated for 6.11
Workshop 4 5/11 Updated for 6.11
Workshop 5 5/11 Updated for 6.11
Workshop 6 5/11 Updated for 6.11
Workshop 7 5/11 Updated for 6.11
Workshop 8 5/11 Updated for 6.11
Workshop 9 5/11 Updated for 6.11
Workshop 10 5/11 Updated for 6.11
Workshop 11 5/11 Updated for 6.11
Workshop 12 5/11 Updated for 6.11
Workshop 13 5/11 Updated for 6.11
Workshop 14 5/11 Updated for 6.11
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 1
Python Review
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L1.2
GUI Customization with Abaqus
Overview
• Namespaces
• Modules
• Exceptions
• Examples
• Workshops
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 2
Kernel Scripting in Abaqus
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L2.2
GUI Customization with Abaqus
Overview
• The Abaqus Scripting Interface
• The Abaqus Object Model
• Abaqus Types
• Abaqus Modules
• Setting Abaqus Defaults
• Getting Interactive Input
• Example
• Workshops
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 3
Specialized Postprocessing with Kernel Scripting
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L3.2
GUI Customization with Abaqus
Overview
• The Abaqus Output Database
• Automating Postprocessing Tasks
• Postprocessing External Data
• Examples
• Workshops
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 4
Advanced Kernel Scripting Topics
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L4.2
GUI Customization with Abaqus
Overview
• Exploring Your Data
• Abaqus Architecture
• Job Monitoring
• Debugging Scripts
• Abaqus PDE
• Object-Oriented Programming
• Python Classes
• Example
• Workshop
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 5
GUI Toolkit Introduction
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L5.2
GUI Customization with Abaqus
Overview
• Background
• Abaqus GUI Toolkit
• Examples
• Documentation and References
• Customization Services
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 6
Widget Library
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L6.2
GUI Customization with Abaqus
Overview
• Introduction
• Widgets
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 7
Layout Managers
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L7.2
GUI Customization with Abaqus
Overview
• Layout Managers
• Layout Hints
• Example
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 8
Dialogs
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L8.2
GUI Customization with Abaqus
Overview
• Dialogs
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 9
GUI Messaging
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L9.2
GUI Customization with Abaqus
Overview
• Messaging
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 10
Commands and Keywords Part I
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L10.2
GUI Customization with Abaqus
Overview
• Data Targets
• GUI Commands and Keywords
• AFX Targets
• Using Keywords and Targets with Widgets
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 11
Commands and Keywords Part II
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L11.2
GUI Customization with Abaqus
Overview
• Data Targets
• Using Keywords and Targets with Widgets
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 12
Modes Part I
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L12.2
GUI Customization with Abaqus
Overview
• Modes
• Form Example
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 13
Modes Part II
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L13.2
GUI Customization with Abaqus
Overview
• Detailed Mode Execution
• Procedure Modes
• Procedure Example
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 14
Modules and Toolsets
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L14.2
GUI Customization with Abaqus
Overview
• Modules and Toolsets
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 15
Application Overview
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L15.2
GUI Customization with Abaqus
Overview
• Applications
• The Main Window
• Customizing Abaqus/CAE
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
Lecture 16
Other Topics
| w
ww
.3ds.c
om
| ©
Dassault S
ystè
mes |
L16.2
GUI Customization with Abaqus
Overview
• Plug-ins
• Custom Data
• Internationalization
• Context Sensitive Help
• Miscellaneous
• Feedback
top related