xchhen
Mechanical
- Jun 18, 2010
- 6
Dear viewers:
I tried to use the following python commands to get the time-displacement of a specified node. Unfortunately, an error such as " keyError:U" appeared. I can not find the errors in my commands lines, but should have. So , is there anyone who can help me to check it?? thank you in advance.
import odbAccess
step2 = odb.steps['stud']
kk=odb.rootAssembly.instances['IPCONCRETE'].nodes[0]
point1=odbAccess.HistoryPoint(node=kk)
region = step2.HistoryRegion(name='IPCONCRETE',description='dd',point=point1)
u2Data = region.historyOutputs['U2'].data
I tried to use the following python commands to get the time-displacement of a specified node. Unfortunately, an error such as " keyError:U" appeared. I can not find the errors in my commands lines, but should have. So , is there anyone who can help me to check it?? thank you in advance.
import odbAccess
step2 = odb.steps['stud']
kk=odb.rootAssembly.instances['IPCONCRETE'].nodes[0]
point1=odbAccess.HistoryPoint(node=kk)
region = step2.HistoryRegion(name='IPCONCRETE',description='dd',point=point1)
u2Data = region.historyOutputs['U2'].data