Guest User

Untitled

a guest
Mar 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. odb_file_path=r'your_pathfile.odb'
  2. odb = session.openOdb(name=odb_file_path)
  3.  
  4. instance = odb.rootAssembly.instances['MY_PART']
  5. material_name = instance.elements[0].sectionCategory.name[8:-2]
  6. density=odb.materials[material_name].density.table[0][0])
Add Comment
Please, Sign In to add comment