×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Display element sets in an odb file in a list

Display element sets in an odb file in a list

Display element sets in an odb file in a list

(OP)
Hello,

I'm new here and also new in Python.

I'm currently attempting to write a simple plugin for training purposes but I'm stuck at a problem.

I want to list out all element sets in an odb file in a list on a dialog window, similar to the attachment. I have no idea how to have my dialog window list out the element sets.

Below is the code after using RSG builder in ABAQUS.

CODE

from rsg.rsgGui import *
from abaqusConstants import INTEGER, FLOAT
dialogBox = RsgDialog(title='Plot an element set', kernelModule='', kernelFunction='', includeApplyBtn=False, includeSeparator=True, okBtnText='Plot', applyBtnText='Apply', execDir=thisDir)
RsgGroupBox(name='GroupBox_1', p='DialogBox', text='Choose element set to plot', layout='0')
RsgList(name='List_3', p='GroupBox_1', nvis=8, keyword='ListOfSets', default='', layout='LAYOUT_FILL_X')
RsgListItem(p='List_3', text='Item 1')
RsgListItem(p='List_3', text='Item 2')
RsgListItem(p='List_3', text='Item 3')
dialogBox.show() 

I want to have the user choose an element set from this list and the plugin will plot history outputs of the elements including some plot manipulation which I will define later on in a kernel function.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources